trezor-agent: require at least 1 identity

This commit is contained in:
Roman Zeyde
2015-07-04 08:57:38 +03:00
parent d0c5421a3d
commit 7f0424d29a

View File

@@ -19,7 +19,7 @@ def main():
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, nargs='+',
help='proto://[user@]host[:port][/path]')
args = p.parse_args()