Update README for --verbose/-vvv changes.

This commit is contained in:
Chris Berkhout 2021-07-17 19:02:23 +02:00
parent 591bb33cd3
commit c4afbb5ec0

View file

@ -35,14 +35,14 @@ Show usage information:
pricehist -h pricehist -h
``` ```
``` ```
usage: pricehist [-h] [--version] [--verbose] {sources,source,fetch} ... usage: pricehist [-h] [--version] [-vvv] {sources,source,fetch} ...
Fetch historical price data Fetch historical price data
optional arguments: optional arguments:
-h, --help show this help message and exit -h, --help show this help message and exit
--version show version information --version show version information
--verbose show all log messages -vvv, --verbose show all log messages
commands: commands:
{sources,source,fetch} {sources,source,fetch}
@ -57,7 +57,7 @@ Show usage information for the `fetch` command:
pricehist fetch -h pricehist fetch -h
``` ```
``` ```
usage: pricehist fetch SOURCE PAIR [-h] [-t TYPE] [-s DATE | -sx DATE] [-e DATE | -ex DATE] usage: pricehist fetch SOURCE PAIR [-h] [-vvv] [-t TYPE] [-s DATE | -sx DATE] [-e DATE | -ex DATE]
[-o beancount|csv|gnucash-sql|ledger] [--invert] [--quantize INT] [-o beancount|csv|gnucash-sql|ledger] [--invert] [--quantize INT]
[--fmt-base SYM] [--fmt-quote SYM] [--fmt-time TIME] [--fmt-decimal CHAR] [--fmt-thousands CHAR] [--fmt-base SYM] [--fmt-quote SYM] [--fmt-time TIME] [--fmt-decimal CHAR] [--fmt-thousands CHAR]
[--fmt-symbol rightspace|right|leftspace|left] [--fmt-datesep CHAR] [--fmt-csvdelim CHAR] [--fmt-symbol rightspace|right|leftspace|left] [--fmt-datesep CHAR] [--fmt-csvdelim CHAR]
@ -68,6 +68,7 @@ positional arguments:
optional arguments: optional arguments:
-h, --help show this help message and exit -h, --help show this help message and exit
-vvv, --verbose show all log messages
-t TYPE, --type TYPE price type, e.g. close -t TYPE, --type TYPE price type, e.g. close
-s DATE, --start DATE start date, inclusive (default: source start) -s DATE, --start DATE start date, inclusive (default: source start)
-sx DATE, --startx DATE start date, exclusive -sx DATE, --startx DATE start date, exclusive