summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCraig Earls <enderw88@gmail.com>2011-11-30 16:34:43 -0700
committerJohn Wiegley <johnw@newartisans.com>2012-02-10 09:11:07 -1000
commita4dc37c55a0abb9996e24010db1ad6113095f9af (patch)
tree622dbafc0385de94a9e68f123785c295c72b80bb
parenta1fdc16b643198c63ace7e5787f9d1f129aef3fc (diff)
downloadledger-a4dc37c55a0abb9996e24010db1ad6113095f9af.tar.gz
ledger-a4dc37c55a0abb9996e24010db1ad6113095f9af.tar.bz2
ledger-a4dc37c55a0abb9996e24010db1ad6113095f9af.zip
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.
-rw-r--r--doc/ledger3.texi21
1 files changed, 18 insertions, 3 deletions
diff --git a/doc/ledger3.texi b/doc/ledger3.texi
index 47150f28..196e5f93 100644
--- a/doc/ledger3.texi
+++ b/doc/ledger3.texi
@@ -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.
+
+@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:
+ 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