From 5cb3ca04a77c4da8785e4349c8c988fabab7f460 Mon Sep 17 00:00:00 2001 From: thdox Date: Tue, 24 Feb 2015 12:11:35 +0100 Subject: Improve documentation about --version and -v. --- doc/ledger3.texi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'doc') diff --git a/doc/ledger3.texi b/doc/ledger3.texi index a2083e38..d1ee8f7f 100644 --- a/doc/ledger3.texi +++ b/doc/ledger3.texi @@ -5517,7 +5517,6 @@ Generate transactions based on previous postings. Print summary of all options. @item --version -@itemx -v Print version information and exit. @item --file @var{FILE} @@ -5917,7 +5916,7 @@ produce memory trace information. @value{FIXME:UNDOCUMENTED} @item --version -@value{FIXME:UNDOCUMENTED} +Print version information and exit. @end ftable @@ -9764,6 +9763,7 @@ Enable tracing. The @var{INT} specifies the level of trace desired: @ @item --verbose +@itemx -v Print detailed information on the execution of Ledger. @item --verify -- cgit v1.2.3 From fd8386eb236b0092ff30c3c38b4e0d24c6fccc60 Mon Sep 17 00:00:00 2001 From: thdox Date: Tue, 24 Feb 2015 12:31:40 +0100 Subject: Minor documentation consistency fixes about --leeway option. --- doc/ledger3.texi | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'doc') diff --git a/doc/ledger3.texi b/doc/ledger3.texi index d1ee8f7f..f541743b 100644 --- a/doc/ledger3.texi +++ b/doc/ledger3.texi @@ -5790,6 +5790,7 @@ Group postings together, similar to the balance report. Use @file{FILE} for retrieving stored commodity prices. @item --price-exp @var{INT} +@itemx --leeway @var{INT} @itemx -Z @var{INT} Set expected freshness of prices in @var{INT} minutes. @@ -6027,8 +6028,8 @@ Quiet balance assertions. Specify the location of the price entry data file. @item --price-exp @var{INT} -@itemx -Z @var{INT} @itemx --leeway @var{INT} +@itemx -Z @var{INT} Set the expected freshness of price quotes, in @var{INT} minutes. That is, if the last known quote for any commodity is older than this value, and if @option{--download} is being used, then the Internet will be @@ -7288,6 +7289,7 @@ The format of the file can be changed by telling ledger to use the @option{--pricedb-format @var{FORMAT_STRING}} you define. @item --price-exp @var{INT} +@itemx --leeway @var{INT} @itemx -Z @var{INT} Set the expected freshness of price quotes, in @var{INT} minutes. That is, if the last known quote for any commodity is older than this value, -- cgit v1.2.3 From 71e77570b717563244673d4aa525a3b049762983 Mon Sep 17 00:00:00 2001 From: thdox Date: Tue, 24 Feb 2015 16:12:49 +0100 Subject: ledger --help actually prints the man page. --- doc/ledger.1 | 6 +----- doc/ledger3.texi | 16 ++++++++-------- 2 files changed, 9 insertions(+), 13 deletions(-) (limited to 'doc') diff --git a/doc/ledger.1 b/doc/ledger.1 index 8925e6f9..237f05da 100644 --- a/doc/ledger.1 +++ b/doc/ledger.1 @@ -639,11 +639,7 @@ entries. Opposite of Alias for .Fl \-first .It Fl \-help -Print a summary of all the options, and what they are used for. This -can be a handy way to remember which options do what. This help screen -is also printed if -.Nm -is run without a command. +Print this man page. .It Fl \-immediate Evaluate calculations immediately rather than lazily. .It Fl \-import Ar FILE diff --git a/doc/ledger3.texi b/doc/ledger3.texi index f541743b..d134991d 100644 --- a/doc/ledger3.texi +++ b/doc/ledger3.texi @@ -403,10 +403,11 @@ install` to install. If these intructions do not work for you can check the @section Getting help @findex help -Ledger has a complete online help system based on GNU Info. This -manual can be searched directly from the command-line using the -following options: @code{ledger --help} brings up this entire manual in -your TTY. +Ledger has a complete online help system based on GNU Info. This manual +can be searched directly from the command-line using @code{info ledger}, +which will bring up this entire manual in your TTY. Alternatively, the +shorter man page can be accessed from the command-line either via +@code{man ledger} or @code{ledger --help} If you need help on how to use Ledger, or run into problems, you can join the Ledger mailing list at @@ -5514,7 +5515,7 @@ Generate transactions based on previous postings. @item --help @itemx -h -Print summary of all options. +Display the man page for @file{ledger}. @item --version Print version information and exit. @@ -5857,7 +5858,7 @@ database. @item --help @itemx -h -Display the man page for ledger. +Display the man page for @file{ledger}. @item --init-file @var{FILE} Specify the location of the init file. The default is @file{~/.ledgerrc}. @@ -6779,8 +6780,7 @@ variables}), instead of using actual command-line options: @item --help @itemx -h -Print a summary of all the options, and what they are used for. This -can be a handy way to remember which options do what. +Display the man page for @file{ledger}. @item --version Print the current version of ledger and exits. This is useful for -- cgit v1.2.3