Changeset - b1fda6a647ec
[Not reviewed]
0 1 0
Brett Smith - 7 years ago 2017-05-19 14:05:53
brettcsmith@brettcsmith.org
config: Touch up historical --help output throughout.
1 file changed with 3 insertions and 2 deletions:
0 comments (0 inline, 0 general)
oxrlib/config.py
Show inline comments
...
 
@@ -58,7 +58,7 @@ class Configuration:
 

	
 
        hist_parser = subparsers.add_parser(
 
            '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",
 
        )
 
        hist_parser.set_defaults(
...
 
@@ -69,7 +69,7 @@ class Configuration:
 
        )
 
        hist_parser.add_argument(
 
            '--base',
 
            type=currency_code,
 
            metavar='CODE', type=currency_code,
 
            help="Base currency (default USD)",
 
        )
 
        hist_parser.add_argument(
...
 
@@ -85,6 +85,7 @@ class Configuration:
 
        hist_parser.add_argument(
 
            '--signed-currency', '--sign-currency',
 
            type=currency_code, action='append', dest='signed_currencies',
 
            metavar='CODE',
 
            help="In Ledger output, use a sign for this currency if known. "
 
            "Can be specified multiple times.",
 
        )
0 comments (0 inline, 0 general)