config: Touch up historical --help output throughout.
This commit is contained in:
parent
9be9b07a8d
commit
b1fda6a647
1 changed files with 3 additions and 2 deletions
|
@ -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.",
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue