config: Touch up historical --help output throughout.

This commit is contained in:
Brett Smith 2017-05-19 10:05:53 -04:00
parent 9be9b07a8d
commit b1fda6a647

View file

@ -58,7 +58,7 @@ class Configuration:
hist_parser = subparsers.add_parser( hist_parser = subparsers.add_parser(
'historical', aliases=['hist'], 'historical', aliases=['hist'],
usage='%(prog)s historical YYYY-MM-DD [[amount] code] [[in] code]', usage='%(prog)s YYYY-MM-DD [[amount] code] [[in] code]',
help="Show a currency conversion or rate from a past date", help="Show a currency conversion or rate from a past date",
) )
hist_parser.set_defaults( hist_parser.set_defaults(
@ -69,7 +69,7 @@ class Configuration:
) )
hist_parser.add_argument( hist_parser.add_argument(
'--base', '--base',
type=currency_code, metavar='CODE', type=currency_code,
help="Base currency (default USD)", help="Base currency (default USD)",
) )
hist_parser.add_argument( hist_parser.add_argument(
@ -85,6 +85,7 @@ class Configuration:
hist_parser.add_argument( hist_parser.add_argument(
'--signed-currency', '--sign-currency', '--signed-currency', '--sign-currency',
type=currency_code, action='append', dest='signed_currencies', type=currency_code, action='append', dest='signed_currencies',
metavar='CODE',
help="In Ledger output, use a sign for this currency if known. " help="In Ledger output, use a sign for this currency if known. "
"Can be specified multiple times.", "Can be specified multiple times.",
) )