doc: fixes for the help command's docs
This commit is contained in:
		
							parent
							
								
									bace208e98
								
							
						
					
					
						commit
						990294f53e
					
				| @ -236,23 +236,22 @@ Total: | ||||
| }}) | ||||
| 
 | ||||
| ## help | ||||
| Show detailed help (the main hledger man pages). | ||||
| Show detailed help. | ||||
| 
 | ||||
| The long `--help` flag displays the hledger man page, as fixed-width text. | ||||
| The `help` command can display any of the main hledger man pages. | ||||
| Run `hledger help` with no arguments to see a list of topics. | ||||
| These correspond to the [man pages](/docs.html), shortened for easy typing. | ||||
| Run `hledger help TOPIC` to view that topic. | ||||
| You may wish to pipe the output into a pager for easier viewing. | ||||
| The `help` command can display any of the main [hledger man pages](/docs.html), as fixed-width text.  | ||||
| (Unlike `hledger --help`, which displays only the hledger man page.) | ||||
| Run it with no arguments to list available topics (their names are shortened for easier typing), | ||||
| and run `hledger help TOPIC` to select one. | ||||
| The output may be long, so you may wish to pipe it into a pager. | ||||
| 
 | ||||
| _col3_({{ | ||||
| _shell_({{ | ||||
| $ hledger help | ||||
| Please choose a topic, eg: hledger help ui | ||||
| Topics: cli, ui, web, api, journal, csv, timeclock, timedot | ||||
| }}), | ||||
| }}) | ||||
| 
 | ||||
| _shell_({{ | ||||
| $ hledger help cli | ||||
| $ hledger help cli | less | ||||
| 
 | ||||
| hledger(1)                   hledger User Manuals                   hledger(1) | ||||
| 
 | ||||
| @ -262,8 +261,9 @@ NAME | ||||
|        hledger - a command-line accounting tool | ||||
| 
 | ||||
| SYNOPSIS | ||||
| ... | ||||
| }}) | ||||
|        hledger [-f FILE] COMMAND [OPTIONS] [CMDARGS] | ||||
|        hledger [-f FILE] ADDONCMD -- [OPTIONS] [CMDARGS] | ||||
| : | ||||
| }}) | ||||
| 
 | ||||
| ## incomestatement | ||||
|  | ||||
| @ -1299,21 +1299,27 @@ Total: | ||||
| .fi | ||||
| .SS help | ||||
| .PP | ||||
| Show detailed help (the main hledger man pages). | ||||
| Show detailed help. | ||||
| .PP | ||||
| The long \f[C]\-\-help\f[] flag displays the hledger man page, as | ||||
| fixed\-width text. | ||||
| The \f[C]help\f[] command can display any of the main hledger man pages. | ||||
| Run \f[C]hledger\ help\f[] with no arguments to see a list of topics. | ||||
| These correspond to the man pages, shortened for easy typing. | ||||
| Run \f[C]hledger\ help\ TOPIC\f[] to view that topic. | ||||
| You may wish to pipe the output into a pager for easier viewing. | ||||
| .PP | ||||
| \f[C]{.shell\ .clear}\ $\ hledger\ help\ Please\ choose\ a\ topic,\ eg:\ hledger\ help\ ui\ Topics:\ cli,\ ui,\ web,\ api,\ journal,\ csv,\ timeclock,\ timedot\f[], | ||||
| The \f[C]help\f[] command can display any of the main hledger man pages, | ||||
| as fixed\-width text. | ||||
| (Unlike \f[C]hledger\ \-\-help\f[], which displays only the hledger man | ||||
| page.) Run it with no arguments to list available topics (their names | ||||
| are shortened for easier typing), and run \f[C]hledger\ help\ TOPIC\f[] | ||||
| to select one. | ||||
| The output may be long, so you may wish to pipe it into a pager. | ||||
| .IP | ||||
| .nf | ||||
| \f[C] | ||||
| $\ hledger\ help\ cli | ||||
| $\ hledger\ help | ||||
| Please\ choose\ a\ topic,\ eg:\ hledger\ help\ ui | ||||
| Topics:\ cli,\ ui,\ web,\ api,\ journal,\ csv,\ timeclock,\ timedot | ||||
| \f[] | ||||
| .fi | ||||
| .IP | ||||
| .nf | ||||
| \f[C] | ||||
| $\ hledger\ help\ cli\ |\ less | ||||
| 
 | ||||
| hledger(1)\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ hledger\ User\ Manuals\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ hledger(1) | ||||
| 
 | ||||
| @ -1323,7 +1329,9 @@ NAME | ||||
| \ \ \ \ \ \ \ hledger\ \-\ a\ command\-line\ accounting\ tool | ||||
| 
 | ||||
| SYNOPSIS | ||||
| \&... | ||||
| \ \ \ \ \ \ \ hledger\ [\-f\ FILE]\ COMMAND\ [OPTIONS]\ [CMDARGS] | ||||
| \ \ \ \ \ \ \ hledger\ [\-f\ FILE]\ ADDONCMD\ \-\-\ [OPTIONS]\ [CMDARGS] | ||||
| : | ||||
| \f[] | ||||
| .fi | ||||
| .SS incomestatement | ||||
|  | ||||
| @ -940,19 +940,20 @@ CCOOMMMMAANNDDSS | ||||
|                                $-1 | ||||
| 
 | ||||
|    hheellpp | ||||
|        Show detailed help (the main hledger man pages). | ||||
|        Show detailed help. | ||||
| 
 | ||||
|        The long --help flag displays the  hledger  man  page,  as  fixed-width | ||||
|        text.   The help command can display any of the main hledger man pages. | ||||
|        Run hledger help with no arguments to see a list of topics.  These cor- | ||||
|        respond   to   the   man   pages,   shortened  for  easy  typing.   Run | ||||
|        hledger help TOPIC to view that topic.  You may wish to pipe the output | ||||
|        into a pager for easier viewing. | ||||
|        The help command can display any of the  main  hledger  man  pages,  as | ||||
|        fixed-width  text.   (Unlike  hledger --help,  which  displays only the | ||||
|        hledger man page.) Run it with no arguments to  list  available  topics | ||||
|        (their    names   are   shortened   for   easier   typing),   and   run | ||||
|        hledger help TOPIC to select one.  The output may be long, so  you  may | ||||
|        wish to pipe it into a pager. | ||||
| 
 | ||||
|        {.shell .clear} $ hledger help Please choose a topic, eg: hledger help ui Top- | ||||
|        ics: cli, ui, web, api, journal, csv, timeclock, timedot, | ||||
|               $ hledger help | ||||
|               Please choose a topic, eg: hledger help ui | ||||
|               Topics: cli, ui, web, api, journal, csv, timeclock, timedot | ||||
| 
 | ||||
|               $ hledger help cli | ||||
|               $ hledger help cli | less | ||||
| 
 | ||||
|               hledger(1)                   hledger User Manuals                   hledger(1) | ||||
| 
 | ||||
| @ -962,7 +963,9 @@ CCOOMMMMAANNDDSS | ||||
|                      hledger - a command-line accounting tool | ||||
| 
 | ||||
|               SYNOPSIS | ||||
|               ... | ||||
|                      hledger [-f FILE] COMMAND [OPTIONS] [CMDARGS] | ||||
|                      hledger [-f FILE] ADDONCMD -- [OPTIONS] [CMDARGS] | ||||
|               : | ||||
| 
 | ||||
|    iinnccoommeessttaatteemmeenntt | ||||
|        Show an income statement.  Alias: is. | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user