Skip to content

Commit 2a50ee6

Browse files
authored
Merge pull request #11 from plouismarie/patch-1
Update cms_netstorage
2 parents 19944ce + 9ec8b31 commit 2a50ee6

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

cms_netstorage.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,8 @@ def print_result(response, action):
112112
ok, res = ns.symlink(args[0], args[1])
113113
elif options.action == 'upload':
114114
ok, res = ns.upload(args[0], args[1])
115+
elif options.action == 'rename':
116+
ok, res = ns.rename(args[0], args[1])
115117
else:
116118
print("Invalid action.\nUse option -h or --help")
117119
exit()
@@ -127,4 +129,4 @@ def print_result(response, action):
127129
parser.print_help()
128130
else:
129131
print("You should input hostname, keyname, key and action.\n")
130-
parser.print_help()
132+
parser.print_help()

0 commit comments

Comments
 (0)