diff options
author | SerenaFeng <feng.xiaowei@zte.com.cn> | 2016-06-08 14:05:37 +0800 |
---|---|---|
committer | SerenaFeng <feng.xiaowei@zte.com.cn> | 2016-06-08 14:05:37 +0800 |
commit | 3840e299faae0e10d951d5b74b395c1fc264eb78 (patch) | |
tree | 7d14d25044bc5029a46da6517f357d43cddd49d0 /utils/test/result_collection_api/update/restore.py | |
parent | e68825a39c0bfea596b7849dcab0f1d8730023a7 (diff) |
add update usage description in testAPI
add file update/README.md
JIRA: FUNCTEST-300
Change-Id: I070f872d5d9c3de7eb52569a1ac86d9ec43bd0ea
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
Diffstat (limited to 'utils/test/result_collection_api/update/restore.py')
-rw-r--r-- | utils/test/result_collection_api/update/restore.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/utils/test/result_collection_api/update/restore.py b/utils/test/result_collection_api/update/restore.py index a2b65f321..c3e06cc1c 100644 --- a/utils/test/result_collection_api/update/restore.py +++ b/utils/test/result_collection_api/update/restore.py @@ -19,14 +19,13 @@ parser.add_argument('-u', '--url', help='Mongo DB URL for Backup') parser.add_argument('-i', '--input_dir', type=str, - required=False, - default='./', + required=True, help='Input directory for the Restore.') parser.add_argument('-d', '--db', type=str, required=False, default=None, - help='database for the restore.') + help='database name after the restore.') def restore(args): |