cli: hide deprecated aliases in command list

(a, b, p, r, equity, txns)
This commit is contained in:
Simon Michael 2020-12-23 11:57:42 -08:00
parent 0a36823094
commit a950d49e18
2 changed files with 9 additions and 11 deletions

View File

@ -172,7 +172,7 @@ commandsList progversion othercmds = [
," check check for various kinds of issue in the data" ," check check for various kinds of issue in the data"
,"+check-fancyassertions check more powerful balance assertions" ,"+check-fancyassertions check more powerful balance assertions"
,"+check-tagfiles check file paths in tag values exist" ,"+check-tagfiles check file paths in tag values exist"
," close (equity) generate balance-resetting transactions" ," close generate balance-resetting transactions"
," diff compare account transactions in two journal files" ," diff compare account transactions in two journal files"
,"+interest generate interest transactions" ,"+interest generate interest transactions"
," rewrite generate extra postings, similar to print --auto" ," rewrite generate extra postings, similar to print --auto"
@ -187,9 +187,9 @@ commandsList progversion othercmds = [
," roi show return on investments" ," roi show return on investments"
,"" ,""
,"Low-level reports:" ,"Low-level reports:"
," accounts (a) show account names" ," accounts show account names"
," activity show postings-per-interval bar charts" ," activity show postings-per-interval bar charts"
," balance (b, bal) show balance changes/end balances/budgets in accounts" ," balance (bal) show balance changes/end balances/budgets in accounts"
," codes show transaction codes" ," codes show transaction codes"
," commodities show commodity/currency symbols" ," commodities show commodity/currency symbols"
," descriptions show unique transaction descriptions" ," descriptions show unique transaction descriptions"
@ -197,9 +197,9 @@ commandsList progversion othercmds = [
," notes show unique note segments of transaction descriptions" ," notes show unique note segments of transaction descriptions"
," payees show unique payee segments of transaction descriptions" ," payees show unique payee segments of transaction descriptions"
," prices show market price records" ," prices show market price records"
," print (p, txns) show transactions (journal entries)" ," print show transactions (journal entries)"
," print-unique show only transactions with unique descriptions" ," print-unique show only transactions with unique descriptions"
," register (r, reg) show postings in one or more accounts & running total" ," register (reg) show postings in one or more accounts & running total"
," register-match show a recent posting that best matches a description" ," register-match show a recent posting that best matches a description"
," stats show journal statistics" ," stats show journal statistics"
," tags show tag names" ," tags show tag names"
@ -221,9 +221,7 @@ commandsList progversion othercmds = [
," help [MANUAL] show hledger manuals in various formats" ," help [MANUAL] show hledger manuals in various formats"
,"" ,""
] ]
-- commands show brief commands list
-- edit open a text editor on some part of the journal -- edit open a text editor on some part of the journal
-- aregister (ar, areg) show transactions in a single account
-- | All names and aliases of builtin commands. -- | All names and aliases of builtin commands.

View File

@ -1267,9 +1267,9 @@ These data entry commands are the only ones which can modify your journal file.
**Miscellaneous reports:** **Miscellaneous reports:**
- [accounts](#accounts) (a) - show account names - [accounts](#accounts) - show account names
- [activity](#activity) - show postings-per-interval bar charts - [activity](#activity) - show postings-per-interval bar charts
- **[balance](#balance) (b, bal)** - show balance changes/end balances/budgets in any accounts - **[balance](#balance) (bal)** - show balance changes/end balances/budgets in any accounts
- [codes](#codes) - show transaction codes - [codes](#codes) - show transaction codes
- [commodities](#commodities) - show commodity/currency symbols - [commodities](#commodities) - show commodity/currency symbols
- [descriptions](#descriptions) - show unique transaction descriptions - [descriptions](#descriptions) - show unique transaction descriptions
@ -1278,9 +1278,9 @@ These data entry commands are the only ones which can modify your journal file.
- [notes](#notes) - show unique note segments of transaction descriptions - [notes](#notes) - show unique note segments of transaction descriptions
- [payees](#payees) - show unique payee segments of transaction descriptions - [payees](#payees) - show unique payee segments of transaction descriptions
- [prices](#prices) - show market price records - [prices](#prices) - show market price records
- **[print](#print) (p, txns)** - show transactions (journal entries) - **[print](#print)** - show transactions (journal entries)
- [print-unique](#print-unique) - show only transactions with unique descriptions - [print-unique](#print-unique) - show only transactions with unique descriptions
- **[register](#register) (r, reg)** - show postings in one or more accounts & running total - **[register](#register) (reg)** - show postings in one or more accounts & running total
- [register-match](#register-match) - show a recent posting that best matches a description - [register-match](#register-match) - show a recent posting that best matches a description
- [stats](#stats) - show journal statistics - [stats](#stats) - show journal statistics
- [tags](#tags) - show tag names - [tags](#tags) - show tag names