add --one-column as an alias option

This commit is contained in:
hroff-1902 2019-06-14 21:59:16 +03:00
parent cedd38455f
commit 1af988711b

View File

@ -341,7 +341,7 @@ class Arguments(object):
Parses given arguments for the list-exchanges command.
"""
parser.add_argument(
'-1',
'-1', '--one-column',
help='Print exchanges in one column',
action='store_true',
dest='print_one_column',
@ -376,7 +376,7 @@ class Arguments(object):
self.hyperopt_options(hyperopt_cmd)
# Add list-exchanges subcommand
list_exchanges_cmd = subparsers.add_parser('list-exchanges', help='List known exchanges.')
list_exchanges_cmd = subparsers.add_parser('list-exchanges', help='Print available exchanges.')
list_exchanges_cmd.set_defaults(func=start_list_exchanges)
self.list_exchanges_options(list_exchanges_cmd)