From dcfc88c7e12724acf4416ddf785cb77ad7f4610f Mon Sep 17 00:00:00 2001 From: Roman Zeyde Date: Sat, 4 Jul 2015 09:23:36 +0300 Subject: [PATCH] trezor-agent: use single identity per invocation --- sshagent/trezor_agent.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sshagent/trezor_agent.py b/sshagent/trezor_agent.py index e823ec6..dfd8034 100644 --- a/sshagent/trezor_agent.py +++ b/sshagent/trezor_agent.py @@ -17,10 +17,10 @@ def main(): g.add_argument('-v', '--verbose', default=0, action='count') g.add_argument('-q', '--quiet', default=False, action='store_true') - p.add_argument('-c', dest='command', type=str, default=None, - help='command to run under the SSH agent') - p.add_argument('identity', type=str, nargs='+', + p.add_argument('identity', type=str, help='proto://[user@]host[:port][/path]') + p.add_argument('command', type=str, nargs='*', + help='command to run under the SSH agent') args = p.parse_args() loglevel = logging.INFO