# HG changeset patch # User Julien Jehannet # Date 1272464036 -7200 # Node ID ed8f71e244f881657741075904c64cfa2a862876 # Parent f0ea91195ef6ac84ac4c29d31195c4ae27bb4d6a [shell] #715938: support of script parameters (using standard '--' as arguments separator) 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. diff -r f0ea91195ef6 -r ed8f71e244f8 __pkginfo__.py --- a/__pkginfo__.py Wed Apr 28 12:25:11 2010 +0200 +++ b/__pkginfo__.py Wed Apr 28 16:13:56 2010 +0200 @@ -40,7 +40,7 @@ ] __depends__ = { - 'logilab-common': '>= 0.50.0', + 'logilab-common': '>= 0.50.1', 'logilab-mtconverter': '>= 0.6.0', 'rql': '>= 0.26.0', 'yams': '>= 0.28.1', diff -r f0ea91195ef6 -r ed8f71e244f8 cwctl.py --- a/cwctl.py Wed Apr 28 12:25:11 2010 +0200 +++ b/cwctl.py Wed Apr 28 16:13:56 2010 +0200 @@ -781,11 +781,15 @@ repository internals (session, etc...) so most migration commands won't be available. + 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. + the identifier of the instance to connect. """ name = 'shell' - arguments = ' [batch command file]' + arguments = ' [batch command file(s)] [--