doc: another help flag consistency fix
This commit is contained in:
		
							parent
							
								
									656734ccd3
								
							
						
					
					
						commit
						f0baa30db0
					
				| @ -56,7 +56,7 @@ m4_dnl | |||||||
| m4_define({{_generaloptions_}}, {{ | m4_define({{_generaloptions_}}, {{ | ||||||
| 
 | 
 | ||||||
| `-h` | `-h` | ||||||
| : show general usage (or if after COMMAND, the command's usage) | : show general usage (or after COMMAND, the command's usage) | ||||||
| 
 | 
 | ||||||
| `--help` | `--help` | ||||||
| : show the current program's manual as plain text (or after an add-on COMMAND, the add-on's manual) | : show the current program's manual as plain text (or after an add-on COMMAND, the add-on's manual) | ||||||
|  | |||||||
| @ -69,7 +69,7 @@ print API docs in Swagger 2.0 format, and exit | |||||||
| .RE | .RE | ||||||
| .TP | .TP | ||||||
| .B \f[C]\-h\f[] | .B \f[C]\-h\f[] | ||||||
| show general usage (or if after COMMAND, the command\[aq]s usage) | show general usage (or after COMMAND, the command\[aq]s usage) | ||||||
| .RS | .RS | ||||||
| .RE | .RE | ||||||
| .TP | .TP | ||||||
|  | |||||||
| @ -50,7 +50,7 @@ before options as shown above. | |||||||
|      print API docs in Swagger 2.0 format, and exit |      print API docs in Swagger 2.0 format, and exit | ||||||
| 
 | 
 | ||||||
| `-h' | `-h' | ||||||
|      show general usage (or if after COMMAND, the command's usage) |      show general usage (or after COMMAND, the command's usage) | ||||||
| 
 | 
 | ||||||
| `--help' | `--help' | ||||||
|      show the current program's manual as plain text (or after an add-on |      show the current program's manual as plain text (or after an add-on | ||||||
|  | |||||||
| @ -50,7 +50,7 @@ OOPPTTIIOONNSS | |||||||
|        ----sswwaaggggeerr |        ----sswwaaggggeerr | ||||||
|               print API docs in Swagger 2.0 format, and exit |               print API docs in Swagger 2.0 format, and exit | ||||||
| 
 | 
 | ||||||
|        --hh     show general usage (or if after COMMAND, the command's usage) |        --hh     show general usage (or after COMMAND, the command's usage) | ||||||
| 
 | 
 | ||||||
|        ----hheellpp show the current program's manual as plain  text  (or  after  an |        ----hheellpp show the current program's manual as plain  text  (or  after  an | ||||||
|               add-on COMMAND, the add-on's manual) |               add-on COMMAND, the add-on's manual) | ||||||
|  | |||||||
| @ -70,7 +70,7 @@ commodity (accounts screen only) | |||||||
| .RE | .RE | ||||||
| .TP | .TP | ||||||
| .B \f[C]\-h\f[] | .B \f[C]\-h\f[] | ||||||
| show general usage (or if after COMMAND, the command\[aq]s usage) | show general usage (or after COMMAND, the command\[aq]s usage) | ||||||
| .RS | .RS | ||||||
| .RE | .RE | ||||||
| .TP | .TP | ||||||
|  | |||||||
| @ -55,7 +55,7 @@ the data. | |||||||
|      valuation commodity (accounts screen only) |      valuation commodity (accounts screen only) | ||||||
| 
 | 
 | ||||||
| `-h' | `-h' | ||||||
|      show general usage (or if after COMMAND, the command's usage) |      show general usage (or after COMMAND, the command's usage) | ||||||
| 
 | 
 | ||||||
| `--help' | `--help' | ||||||
|      show the current program's manual as plain text (or after an add-on |      show the current program's manual as plain text (or after an add-on | ||||||
| @ -287,19 +287,19 @@ Tag Table: | |||||||
| Node: Top88 | Node: Top88 | ||||||
| Node: OPTIONS714 | Node: OPTIONS714 | ||||||
| Ref: #options813 | Ref: #options813 | ||||||
| Node: hledger options2137 | Node: hledger options2134 | ||||||
| Ref: #hledger-options2243 | Ref: #hledger-options2240 | ||||||
| Node: KEYS3426 | Node: KEYS3423 | ||||||
| Ref: #keys3523 | Ref: #keys3520 | ||||||
| Node: SCREENS3920 | Node: SCREENS3917 | ||||||
| Ref: #screens4007 | Ref: #screens4004 | ||||||
| Node: Accounts screen4097 | Node: Accounts screen4094 | ||||||
| Ref: #accounts-screen4227 | Ref: #accounts-screen4224 | ||||||
| Node: Register screen5072 | Node: Register screen5069 | ||||||
| Ref: #register-screen5229 | Ref: #register-screen5226 | ||||||
| Node: Transaction screen6611 | Node: Transaction screen6608 | ||||||
| Ref: #transaction-screen6771 | Ref: #transaction-screen6768 | ||||||
| Node: Error screen7638 | Node: Error screen7635 | ||||||
| Ref: #error-screen7762 | Ref: #error-screen7759 | ||||||
|  |  | ||||||
| End Tag Table | End Tag Table | ||||||
|  | |||||||
| @ -54,7 +54,7 @@ OOPPTTIIOONNSS | |||||||
|               show amounts as their current market value in their default val- |               show amounts as their current market value in their default val- | ||||||
|               uation commodity (accounts screen only) |               uation commodity (accounts screen only) | ||||||
| 
 | 
 | ||||||
|        --hh     show general usage (or if after COMMAND, the command's usage) |        --hh     show general usage (or after COMMAND, the command's usage) | ||||||
| 
 | 
 | ||||||
|        ----hheellpp show  the  current  program's  manual as plain text (or after an |        ----hheellpp show  the  current  program's  manual as plain text (or after an | ||||||
|               add-on COMMAND, the add-on's manual) |               add-on COMMAND, the add-on's manual) | ||||||
|  | |||||||
| @ -115,7 +115,7 @@ with this. | |||||||
| .RE | .RE | ||||||
| .TP | .TP | ||||||
| .B \f[C]\-h\f[] | .B \f[C]\-h\f[] | ||||||
| show general usage (or if after COMMAND, the command\[aq]s usage) | show general usage (or after COMMAND, the command\[aq]s usage) | ||||||
| .RS | .RS | ||||||
| .RE | .RE | ||||||
| .TP | .TP | ||||||
|  | |||||||
| @ -92,7 +92,7 @@ before options as shown above. | |||||||
|      with this. |      with this. | ||||||
| 
 | 
 | ||||||
| `-h' | `-h' | ||||||
|      show general usage (or if after COMMAND, the command's usage) |      show general usage (or after COMMAND, the command's usage) | ||||||
| 
 | 
 | ||||||
| `--help' | `--help' | ||||||
|      show the current program's manual as plain text (or after an add-on |      show the current program's manual as plain text (or after an add-on | ||||||
| @ -189,7 +189,7 @@ Tag Table: | |||||||
| Node: Top90 | Node: Top90 | ||||||
| Node: OPTIONS2868 | Node: OPTIONS2868 | ||||||
| Ref: #options2955 | Ref: #options2955 | ||||||
| Node: hledger options4376 | Node: hledger options4373 | ||||||
| Ref: #hledger-options4483 | Ref: #hledger-options4480 | ||||||
|  |  | ||||||
| End Tag Table | End Tag Table | ||||||
|  | |||||||
| @ -92,7 +92,7 @@ OOPPTTIIOONNSS | |||||||
|               them  from  another server for efficiency, you would set the url |               them  from  another server for efficiency, you would set the url | ||||||
|               with this. |               with this. | ||||||
| 
 | 
 | ||||||
|        --hh     show general usage (or if after COMMAND, the command's usage) |        --hh     show general usage (or after COMMAND, the command's usage) | ||||||
| 
 | 
 | ||||||
|        ----hheellpp show the current program's manual as plain  text  (or  after  an |        ----hheellpp show the current program's manual as plain  text  (or  after  an | ||||||
|               add-on COMMAND, the add-on's manual) |               add-on COMMAND, the add-on's manual) | ||||||
|  | |||||||
| @ -98,7 +98,7 @@ import Hledger.Cli.Version | |||||||
| -- | Common help flags: --help, --debug, --version... | -- | Common help flags: --help, --debug, --version... | ||||||
| helpflags :: [Flag RawOpts] | helpflags :: [Flag RawOpts] | ||||||
| helpflags = [ | helpflags = [ | ||||||
|   flagNone ["h"]    (setboolopt "h")    "show general usage or (after command) command usage" |   flagNone ["h"]    (setboolopt "h")    "show general usage or (after COMMAND, the command's usage" | ||||||
|  ,flagNone ["help"] (setboolopt "help") "show the current program's manual as plain text (or after an add-on COMMAND, the add-on's manual)" |  ,flagNone ["help"] (setboolopt "help") "show the current program's manual as plain text (or after an add-on COMMAND, the add-on's manual)" | ||||||
|  ,flagNone ["man"]  (setboolopt "man")  "show the current program's manual with man" |  ,flagNone ["man"]  (setboolopt "man")  "show the current program's manual with man" | ||||||
|  ,flagNone ["info"] (setboolopt "info") "show the current program's manual with info" |  ,flagNone ["info"] (setboolopt "info") "show the current program's manual with info" | ||||||
|  | |||||||
| @ -193,7 +193,7 @@ General options are always available and can appear anywhere in the | |||||||
| command line: | command line: | ||||||
| .TP | .TP | ||||||
| .B \f[C]\-h\f[] | .B \f[C]\-h\f[] | ||||||
| show general usage (or if after COMMAND, the command\[aq]s usage) | show general usage (or after COMMAND, the command\[aq]s usage) | ||||||
| .RS | .RS | ||||||
| .RE | .RE | ||||||
| .TP | .TP | ||||||
|  | |||||||
| @ -159,7 +159,7 @@ QUERIES. | |||||||
| available and can appear anywhere in the command line: | available and can appear anywhere in the command line: | ||||||
| 
 | 
 | ||||||
| `-h' | `-h' | ||||||
|      show general usage (or if after COMMAND, the command's usage) |      show general usage (or after COMMAND, the command's usage) | ||||||
| 
 | 
 | ||||||
| `--help' | `--help' | ||||||
|      show the current program's manual as plain text (or after an add-on |      show the current program's manual as plain text (or after an add-on | ||||||
| @ -2043,95 +2043,95 @@ Node: EXAMPLES1748 | |||||||
| Ref: #examples1850 | Ref: #examples1850 | ||||||
| Node: OPTIONS3854 | Node: OPTIONS3854 | ||||||
| Ref: #options3958 | Ref: #options3958 | ||||||
| Node: Multiple files7273 | Node: Multiple files7270 | ||||||
| Ref: #multiple-files7398 | Ref: #multiple-files7395 | ||||||
| Node: Repeated options7663 | Node: Repeated options7660 | ||||||
| Ref: #repeated-options7815 | Ref: #repeated-options7812 | ||||||
| Node: Depth limiting7935 | Node: Depth limiting7932 | ||||||
| Ref: #depth-limiting8080 | Ref: #depth-limiting8077 | ||||||
| Node: Smart dates8281 | Node: Smart dates8278 | ||||||
| Ref: #smart-dates8422 | Ref: #smart-dates8419 | ||||||
| Node: Reporting interval9419 | Node: Reporting interval9416 | ||||||
| Ref: #reporting-interval9578 | Ref: #reporting-interval9575 | ||||||
| Node: Period expressions9921 | Node: Period expressions9918 | ||||||
| Ref: #period-expressions10088 | Ref: #period-expressions10085 | ||||||
| Node: Regular Expressions12134 | Node: Regular Expressions12131 | ||||||
| Ref: #regular-expressions12276 | Ref: #regular-expressions12273 | ||||||
| Node: QUERIES13759 | Node: QUERIES13756 | ||||||
| Ref: #queries13863 | Ref: #queries13860 | ||||||
| Node: COMMANDS17165 | Node: COMMANDS17162 | ||||||
| Ref: #commands17279 | Ref: #commands17276 | ||||||
| Node: accounts17952 | Node: accounts17949 | ||||||
| Ref: #accounts18052 | Ref: #accounts18049 | ||||||
| Node: activity19034 | Node: activity19031 | ||||||
| Ref: #activity19146 | Ref: #activity19143 | ||||||
| Node: add19505 | Node: add19502 | ||||||
| Ref: #add19606 | Ref: #add19603 | ||||||
| Node: balance22265 | Node: balance22262 | ||||||
| Ref: #balance22378 | Ref: #balance22375 | ||||||
| Node: Flat mode25094 | Node: Flat mode25091 | ||||||
| Ref: #flat-mode25221 | Ref: #flat-mode25218 | ||||||
| Node: Depth limited balance reports25640 | Node: Depth limited balance reports25637 | ||||||
| Ref: #depth-limited-balance-reports25843 | Ref: #depth-limited-balance-reports25840 | ||||||
| Node: Multicolumn balance reports26264 | Node: Multicolumn balance reports26261 | ||||||
| Ref: #multicolumn-balance-reports26466 | Ref: #multicolumn-balance-reports26463 | ||||||
| Node: Market value31115 | Node: Market value31112 | ||||||
| Ref: #market-value31279 | Ref: #market-value31276 | ||||||
| Node: Custom balance output31772 | Node: Custom balance output31769 | ||||||
| Ref: #custom-balance-output31945 | Ref: #custom-balance-output31942 | ||||||
| Node: Output destination34049 | Node: Output destination34046 | ||||||
| Ref: #output-destination34214 | Ref: #output-destination34211 | ||||||
| Node: CSV output34484 | Node: CSV output34481 | ||||||
| Ref: #csv-output34603 | Ref: #csv-output34600 | ||||||
| Node: balancesheet35000 | Node: balancesheet34997 | ||||||
| Ref: #balancesheet35128 | Ref: #balancesheet35125 | ||||||
| Node: cashflow35780 | Node: cashflow35777 | ||||||
| Ref: #cashflow35897 | Ref: #cashflow35894 | ||||||
| Node: help36587 | Node: help36584 | ||||||
| Ref: #help36699 | Ref: #help36696 | ||||||
| Node: incomestatement37536 | Node: incomestatement37533 | ||||||
| Ref: #incomestatement37666 | Ref: #incomestatement37663 | ||||||
| Node: info38393 | Node: info38390 | ||||||
| Ref: #info38500 | Ref: #info38497 | ||||||
| Node: man38862 | Node: man38859 | ||||||
| Ref: #man38959 | Ref: #man38956 | ||||||
| Node: print39362 | Node: print39359 | ||||||
| Ref: #print39467 | Ref: #print39464 | ||||||
| Node: register40818 | Node: register40815 | ||||||
| Ref: #register40931 | Ref: #register40928 | ||||||
| Node: Custom register output45272 | Node: Custom register output45269 | ||||||
| Ref: #custom-register-output45403 | Ref: #custom-register-output45400 | ||||||
| Node: stats46700 | Node: stats46697 | ||||||
| Ref: #stats46806 | Ref: #stats46803 | ||||||
| Node: test47687 | Node: test47684 | ||||||
| Ref: #test47774 | Ref: #test47771 | ||||||
| Node: ADD-ON COMMANDS48141 | Node: ADD-ON COMMANDS48138 | ||||||
| Ref: #add-on-commands48277 | Ref: #add-on-commands48274 | ||||||
| Node: api49565 | Node: api49562 | ||||||
| Ref: #api49657 | Ref: #api49654 | ||||||
| Node: autosync49691 | Node: autosync49688 | ||||||
| Ref: #autosync49806 | Ref: #autosync49803 | ||||||
| Node: diff52121 | Node: diff52118 | ||||||
| Ref: #diff52231 | Ref: #diff52228 | ||||||
| Node: equity52895 | Node: equity52892 | ||||||
| Ref: #equity53009 | Ref: #equity53006 | ||||||
| Node: interest54337 | Node: interest54334 | ||||||
| Ref: #interest54454 | Ref: #interest54451 | ||||||
| Node: irr57538 | Node: irr57535 | ||||||
| Ref: #irr57651 | Ref: #irr57648 | ||||||
| Node: print-unique60026 | Node: print-unique60023 | ||||||
| Ref: #print-unique60156 | Ref: #print-unique60153 | ||||||
| Node: rewrite60414 | Node: rewrite60411 | ||||||
| Ref: #rewrite60533 | Ref: #rewrite60530 | ||||||
| Node: ui61062 | Node: ui61059 | ||||||
| Ref: #ui61162 | Ref: #ui61159 | ||||||
| Node: web61203 | Node: web61200 | ||||||
| Ref: #web61291 | Ref: #web61288 | ||||||
| Node: TROUBLESHOOTING61324 | Node: TROUBLESHOOTING61321 | ||||||
| Ref: #troubleshooting61443 | Ref: #troubleshooting61440 | ||||||
| Node: Run-time problems61497 | Node: Run-time problems61494 | ||||||
| Ref: #run-time-problems61640 | Ref: #run-time-problems61637 | ||||||
| Node: Known limitations63584 | Node: Known limitations63581 | ||||||
| Ref: #known-limitations63727 | Ref: #known-limitations63724 | ||||||
|  |  | ||||||
| End Tag Table | End Tag Table | ||||||
|  | |||||||
| @ -137,7 +137,7 @@ OOPPTTIIOONNSS | |||||||
|        There are three kinds of options.  General options are always available |        There are three kinds of options.  General options are always available | ||||||
|        and can appear anywhere in the command line: |        and can appear anywhere in the command line: | ||||||
| 
 | 
 | ||||||
|        --hh     show general usage (or if after COMMAND, the command's usage) |        --hh     show general usage (or after COMMAND, the command's usage) | ||||||
| 
 | 
 | ||||||
|        ----hheellpp show the current program's manual as plain  text  (or  after  an |        ----hheellpp show the current program's manual as plain  text  (or  after  an | ||||||
|               add-on COMMAND, the add-on's manual) |               add-on COMMAND, the add-on's manual) | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user