mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-05 17:02:47 +00:00
Add parse argument of destination configuration file (#5203)
This commit is contained in:
@@ -201,6 +201,7 @@ class ObjMigrateWorker(Thread):
|
|||||||
def main(argv):
|
def main(argv):
|
||||||
parser = argparse.ArgumentParser()
|
parser = argparse.ArgumentParser()
|
||||||
parser.add_argument('--decrypt', action='store_true', help='decrypt data from source storage and write to destination in plain text')
|
parser.add_argument('--decrypt', action='store_true', help='decrypt data from source storage and write to destination in plain text')
|
||||||
|
parser.add_argument('config_dir', help='The dir where the destination configuration file exists')
|
||||||
args = parser.parse_args()
|
args = parser.parse_args()
|
||||||
|
|
||||||
decrypt = args.decrypt
|
decrypt = args.decrypt
|
||||||
|
Reference in New Issue
Block a user