diff options
Diffstat (limited to 'func')
-rw-r--r-- | func/overlord/cmd_modules/copyfile.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/func/overlord/cmd_modules/copyfile.py b/func/overlord/cmd_modules/copyfile.py index 354ab8f..3206a4e 100644 --- a/func/overlord/cmd_modules/copyfile.py +++ b/func/overlord/cmd_modules/copyfile.py @@ -34,7 +34,7 @@ class CopyFile(client.command.Command): def addOptions(self): self.parser.add_option("-f", "--file", dest="filename", action="store") - self.parser.add_option("", "--remotepath", dest="rpath", + self.parser.add_option("", "--remotepath", dest="remotepath", action="store") self.parser.add_option("", "--force", dest="force", action="store_true") @@ -74,6 +74,6 @@ class CopyFile(client.command.Command): - results = client_obj.run("copyfile", "copyfile", [self.options.rpath, fb, + results = client_obj.run("copyfile", "copyfile", [self.options.remotepath, fb, mode, uid, gid]) |