Dramatically improved the online help system.

Modify global.h and global.cc to bring up the info page for
Ledger rather than the outdated man page.  Also introduced
new options to search the info page index.

Help options are now:
`--help'  Brings up the info page
`--help-info'  Brings up the info help page
`--help-comm' concept  Searches the info index for `concept'
`--help-disp' Brings up the Format String chapter of the manual
`--help-calc'  Brings up the Value Expression Chapter.
This commit is contained in:
Craig Earls 2011-11-30 16:34:43 -07:00 committed by John Wiegley
parent a1fdc16b64
commit a4dc37c55a

View file

@ -45,7 +45,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
@titlepage
@title Ledger: Command-Line Accounting
@subtitle For Version 3.0 of Ledger
@subtitle Draft Manual Time-stamp: <2011-11-28 22:21 (cpearls)>
@subtitle Draft Manual Time-stamp: <2011-11-30 16:33 (cpearls)>
@author John Wiegley
@end titlepage
@ -90,6 +90,9 @@ twinkling in their father's CRT.
@chapter Copying
@insertcopying
This license can also be obtained from the commandline by executing
@code{ledger --license}
@node Introduction to Ledger, Ledger Tutorial , Copying, Top
@chapter Introduction to Ledger
@menu
@ -252,9 +255,21 @@ enter these commands:
@node Getting Help, , Building the Program, Introduction to Ledger
@section Getting help
Ledger has a complete online help system based on GNU Info. This manual
can be searched directly fromthe command line using the following
options:
@option{ledger --help} bring up this entire manual in your tty.
If you need help on how to use Ledger, or run into problems, you can
join the Ledger mailing list at the following Web address:
@option{ledger --help-info} brings up help on how to use the info system.
@option{ledger --help-comm concept} search the manual index and bring up pages associated with `concept'.
@option{ledger --help-calc} brings up the value expressions chapter of the manual
@option{ledger --help-disp} brings up the Format Strings chapter of the manual.
If you need help on how to use Ledger, or run into problems,
you can join the Ledger mailing list at the following Web address:
@smallexample
http://groups.google.com/group/ledger-cli