|
|
@ -61,6 +61,7 @@ class Cli(object):
|
|
|
|
runas_opts=True,
|
|
|
|
runas_opts=True,
|
|
|
|
async_opts=True,
|
|
|
|
async_opts=True,
|
|
|
|
output_opts=True,
|
|
|
|
output_opts=True,
|
|
|
|
|
|
|
|
connect_opts=True,
|
|
|
|
|
|
|
|
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
@ -97,7 +98,7 @@ class Cli(object):
|
|
|
|
remote_port=options.remote_port, forks=options.forks,
|
|
|
|
remote_port=options.remote_port, forks=options.forks,
|
|
|
|
background=options.seconds, pattern=pattern,
|
|
|
|
background=options.seconds, pattern=pattern,
|
|
|
|
callbacks=self.callbacks, sudo=options.sudo, verbose=True,
|
|
|
|
callbacks=self.callbacks, sudo=options.sudo, verbose=True,
|
|
|
|
debug=options.debug
|
|
|
|
transport=options.connection, debug=options.debug
|
|
|
|
)
|
|
|
|
)
|
|
|
|
return (runner, runner.run())
|
|
|
|
return (runner, runner.run())
|
|
|
|
|
|
|
|
|
|
|
|