We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 19944ce + 9ec8b31 commit 2a50ee6Copy full SHA for 2a50ee6
cms_netstorage.py
@@ -112,6 +112,8 @@ def print_result(response, action):
112
ok, res = ns.symlink(args[0], args[1])
113
elif options.action == 'upload':
114
ok, res = ns.upload(args[0], args[1])
115
+ elif options.action == 'rename':
116
+ ok, res = ns.rename(args[0], args[1])
117
else:
118
print("Invalid action.\nUse option -h or --help")
119
exit()
@@ -127,4 +129,4 @@ def print_result(response, action):
127
129
parser.print_help()
128
130
131
print("You should input hostname, keyname, key and action.\n")
- parser.print_help()
132
+ parser.print_help()
0 commit comments