You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ ./a.sh -v -L wfrge
Would get:
scp -P22334 [email protected]:/opt/scripts/db/.backup
To:
/vagrant/db/.backup
$ ./a.sh -v 1 -L wfrge
SSH login is required option.
For help invoke with -? or --help
The definitions of the options is as the following:
optparse.define short=L long=ssh-login desc="The login to use for sftp/scp connection" variable=ssh_login
optparse.define short=v long=verbose desc="" desc="Verbose mode." variable=verbose value=1 default=0
Works same way if long option name specified.
The text was updated successfully, but these errors were encountered:
Here's an example:
The definitions of the options is as the following:
Works same way if long option name specified.
The text was updated successfully, but these errors were encountered: