Add links to SSH/GPG usage examples

This commit is contained in:
Roman Zeyde
2018-06-30 11:21:47 +03:00
parent a8f19e4150
commit 1e6c4e6930
2 changed files with 7 additions and 2 deletions

View File

@@ -65,7 +65,10 @@ def _to_unicode(s):
def create_agent_parser(device_type):
"""Create an ArgumentParser for this tool."""
p = configargparse.ArgParser(default_config_files=['~/.ssh/agent.config'])
epilog = ('See https://github.com/romanz/trezor-agent/blob/master/'
'doc/README-SSH.md for usage examples.')
p = configargparse.ArgParser(default_config_files=['~/.ssh/agent.config'],
epilog=epilog)
p.add_argument('-v', '--verbose', default=0, action='count')
agent_package = device_type.package_name()