cwctl.py
changeset 5436 2455ca3a2a3a
parent 5430 ed8f71e244f8
child 5442 3ed8afbbdf70
--- a/cwctl.py	Wed Apr 28 18:13:38 2010 +0200
+++ b/cwctl.py	Wed Apr 28 17:57:36 2010 +0200
@@ -783,7 +783,7 @@
 
     Arguments after bare "--" string will not be processed by the shell command
     You can use it to pass extra arguments to your script and expect for
-    them in 'scriptargs' afterwards.
+    them in '__args__' afterwards.
 
     <instance>
       the identifier of the instance to connect.
@@ -869,7 +869,7 @@
                 # remember that usage requires instance appid as first argument
                 scripts, args = self.cmdline_parser.largs[1:], self.cmdline_parser.rargs
                 for script in scripts:
-                    mih.cmd_process_script(script, args=args)
+                    mih.cmd_process_script(script, scriptargs=args)
             else:
                 mih.interactive_shell()
         finally: