diff --git a/hledger/hledger.1 b/hledger/hledger.1 index 98a1bbe82..b230f91dc 100644 --- a/hledger/hledger.1 +++ b/hledger/hledger.1 @@ -2384,10 +2384,10 @@ txt T}@T{ csv T}@T{ -json -T}@T{ html T}@T{ +json +T}@T{ sql T} _ @@ -2398,67 +2398,67 @@ Y T}@T{ Y T}@T{ -Y -T}@T{ -T}@T{ -T} -T{ -balance \f[I][1]\f[R] -T}@T{ -Y -T}@T{ -Y -T}@T{ -Y -T}@T{ -Y \f[I][2]\f[R] -T}@T{ -T} -T{ -balancesheet \f[I][1]\f[R] -T}@T{ -Y -T}@T{ -Y -T}@T{ -Y T}@T{ Y T}@T{ T} T{ -balancesheetequity \f[I][1]\f[R] +balance T}@T{ -Y +Y \f[I]1\f[R] T}@T{ -Y +Y \f[I]1\f[R] T}@T{ -Y +Y \f[I]1,2\f[R] T}@T{ Y T}@T{ T} T{ -cashflow \f[I][1]\f[R] +balancesheet T}@T{ -Y +Y \f[I]1\f[R] T}@T{ -Y +Y \f[I]1\f[R] T}@T{ -Y +Y \f[I]1\f[R] T}@T{ Y T}@T{ T} T{ -incomestatement \f[I][1]\f[R] +balancesheetequity +T}@T{ +Y \f[I]1\f[R] +T}@T{ +Y \f[I]1\f[R] +T}@T{ +Y \f[I]1\f[R] T}@T{ Y T}@T{ -Y +T} +T{ +cashflow +T}@T{ +Y \f[I]1\f[R] +T}@T{ +Y \f[I]1\f[R] +T}@T{ +Y \f[I]1\f[R] T}@T{ Y T}@T{ +T} +T{ +incomestatement +T}@T{ +Y \f[I]1\f[R] +T}@T{ +Y \f[I]1\f[R] +T}@T{ +Y \f[I]1\f[R] +T}@T{ Y T}@T{ T} @@ -2469,8 +2469,8 @@ Y T}@T{ Y T}@T{ -Y T}@T{ +Y T}@T{ Y T} @@ -2481,17 +2481,17 @@ Y T}@T{ Y T}@T{ -Y T}@T{ +Y T}@T{ T} .TE .IP \[bu] 2 -\f[I][1] Balance commands also have a multi-commodity -\f[CI]--layout\f[I] option which affects some output formats.\f[R] +\f[I]1 Also affected by the balance commands\[aq] \f[CI]--layout\f[I] +option.\f[R] .IP \[bu] 2 -\f[I][2] Except with no report interval, or with the \f[CI]--budget\f[I] -flag.\f[R] +\f[I]2 \f[CI]balance\f[I] does not support html output without a report +interval or with \f[CI]--budget\f[I].\f[R] .PP The output format is selected by the \f[C]-O/--output-format=FMT\f[R] option: @@ -3359,6 +3359,60 @@ $ hledger -f examples/bcexample.hledger bal assets:us:etrade -3 -O csv --layout= \f[R] .fi .RE +.PP +Here is how \f[C]--layout\f[R] currently affects the various output +formats: +.PP +.TS +tab(@); +l l l l l l. +T{ +T}@T{ +txt +T}@T{ +csv +T}@T{ +html +T}@T{ +json +T}@T{ +sql +T} +_ +T{ +\f[C]wide\f[R] +T}@T{ +Y +T}@T{ +Y +T}@T{ +Y +T}@T{ +T}@T{ +T} +T{ +\f[C]tall\f[R] +T}@T{ +Y +T}@T{ +Y +T}@T{ +Y +T}@T{ +T}@T{ +T} +T{ +\f[C]bare\f[R] +T}@T{ +Y +T}@T{ +Y +T}@T{ +Y +T}@T{ +T}@T{ +T} +.TE .SS Sorting by amount .PP With \f[C]-S/--sort-amount\f[R], accounts with the largest (most diff --git a/hledger/hledger.info b/hledger/hledger.info index 18daa9a62..b3bbdf5e5 100644 --- a/hledger/hledger.info +++ b/hledger/hledger.info @@ -1877,20 +1877,20 @@ Some commands offer additional output formats, other than the usual plain text terminal output. Here are those commands and the formats currently supported: -txt csv json html sql --------------------------------------------------------- -aregister Y Y Y -balance _[1]_ Y Y Y Y _[2]_ -balancesheet _[1]_ Y Y Y Y -balancesheetequity _[1]_ Y Y Y Y -cashflow _[1]_ Y Y Y Y -incomestatement _[1]_ Y Y Y Y -print Y Y Y Y -register Y Y Y +txt csv html json sql +------------------------------------------------------ +aregister Y Y Y +balance Y _1_ Y _1_ Y _1,2_ Y +balancesheet Y _1_ Y _1_ Y _1_ Y +balancesheetequity Y _1_ Y _1_ Y _1_ Y +cashflow Y _1_ Y _1_ Y _1_ Y +incomestatement Y _1_ Y _1_ Y _1_ Y +print Y Y Y Y +register Y Y Y - * _[1] Balance commands also have a multi-commodity '--layout' option - which affects some output formats._ - * _[2] Except with no report interval, or with the '--budget' flag._ + * _1 Also affected by the balance commands' '--layout' option._ + * _2 'balance' does not support html output without a report interval + or with '--budget'._ The output format is selected by the '-O/--output-format=FMT' option: @@ -2709,6 +2709,14 @@ commodity are displayed: "total","VEA","36.00" "total","VHT","294.00" + Here is how '--layout' currently affects the various output formats: + +txt csv html json sql +----------------------------------- +'wide' Y Y Y +'tall' Y Y Y +'bare' Y Y Y +  File: hledger.info, Node: Sorting by amount, Next: Percentages, Prev: Commodity layout, Up: balance @@ -9150,418 +9158,418 @@ Node: Output styling63980 Ref: #output-styling64128 Node: Output format64885 Ref: #output-format65029 -Node: HTML output66373 -Ref: #html-output66494 -Node: JSON output66588 -Ref: #json-output66728 -Node: SQL output67645 -Ref: #sql-output67763 -Node: Commodity styles68264 -Ref: #commodity-styles68391 -Node: COMMANDS69167 -Ref: #commands69279 -Node: accounts72644 -Ref: #accounts72744 -Node: activity73440 -Ref: #activity73552 -Node: add73935 -Ref: #add74038 -Node: aregister76831 -Ref: #aregister76945 -Node: aregister and custom posting dates79310 -Ref: #aregister-and-custom-posting-dates79476 -Node: balance80028 -Ref: #balance80147 -Node: balance features81145 -Ref: #balance-features81285 -Node: Simple balance report83209 -Ref: #simple-balance-report83391 -Node: Filtered balance report84871 -Ref: #filtered-balance-report85058 -Node: List or tree mode85385 -Ref: #list-or-tree-mode85553 -Node: Depth limiting86898 -Ref: #depth-limiting87064 -Node: Dropping top-level accounts87665 -Ref: #dropping-top-level-accounts87867 -Node: Multi-period balance report88177 -Ref: #multi-period-balance-report88390 -Node: Showing declared accounts90665 -Ref: #showing-declared-accounts90863 -Node: Commodity layout91394 -Ref: #commodity-layout91564 -Node: Sorting by amount97389 -Ref: #sorting-by-amount97549 -Node: Percentages98219 -Ref: #percentages98377 -Node: Balance change end balance99338 -Ref: #balance-change-end-balance99531 -Node: Balance report types100959 -Ref: #balance-report-types101149 -Node: Useful balance reports105428 -Ref: #useful-balance-reports105609 -Node: Budget report106694 -Ref: #budget-report106878 -Node: Budget report start date112153 -Ref: #budget-report-start-date112331 -Node: Budgets and subaccounts113663 -Ref: #budgets-and-subaccounts113870 -Node: Selecting budget goals117310 -Ref: #selecting-budget-goals117482 -Node: Customising single-period balance reports118516 -Ref: #customising-single-period-balance-reports118725 -Node: balancesheet120900 -Ref: #balancesheet121038 -Node: balancesheetequity122337 -Ref: #balancesheetequity122488 -Node: cashflow123868 -Ref: #cashflow123992 -Node: check125138 -Ref: #check125243 -Node: Basic checks125877 -Ref: #basic-checks125995 -Node: Strict checks126546 -Ref: #strict-checks126687 -Node: Other checks127123 -Ref: #other-checks127263 -Node: Custom checks127620 -Ref: #custom-checks127740 -Node: close128157 -Ref: #close128261 -Node: close and prices130352 -Ref: #close-and-prices130481 -Node: close date130876 -Ref: #close-date131060 -Node: Example close asset/liability accounts for file transition131817 -Ref: #example-close-assetliability-accounts-for-file-transition132118 -Node: Hiding opening/closing transactions132977 -Ref: #hiding-openingclosing-transactions133248 -Node: close and balance assertions134625 -Ref: #close-and-balance-assertions134883 -Node: Example close revenue/expense accounts to retained earnings136237 -Ref: #example-close-revenueexpense-accounts-to-retained-earnings136515 -Node: codes137405 -Ref: #codes137515 -Node: commodities138227 -Ref: #commodities138356 -Node: descriptions138438 -Ref: #descriptions138568 -Node: diff138872 -Ref: #diff138980 -Node: files140027 -Ref: #files140129 -Node: help140276 -Ref: #help140378 -Node: import141196 -Ref: #import141312 -Node: Deduplication142177 -Ref: #deduplication142302 -Node: Import testing144196 -Ref: #import-testing144361 -Node: Importing balance assignments144849 -Ref: #importing-balance-assignments145055 -Node: Commodity display styles145704 -Ref: #commodity-display-styles145877 -Node: incomestatement146006 -Ref: #incomestatement146141 -Node: notes147446 -Ref: #notes147561 -Node: payees147929 -Ref: #payees148037 -Node: prices148563 -Ref: #prices148671 -Node: print149040 -Ref: #print149152 -Node: print-unique154467 -Ref: #print-unique154595 -Node: register154880 -Ref: #register155009 -Node: Custom register output159455 -Ref: #custom-register-output159586 -Node: register-match160923 -Ref: #register-match161059 -Node: rewrite161410 -Ref: #rewrite161527 -Node: Re-write rules in a file163433 -Ref: #re-write-rules-in-a-file163596 -Node: Diff output format164745 -Ref: #diff-output-format164928 -Node: rewrite vs print --auto166020 -Ref: #rewrite-vs.-print---auto166180 -Node: roi166736 -Ref: #roi166836 -Node: Spaces and special characters in --inv and --pnl168522 -Ref: #spaces-and-special-characters-in---inv-and---pnl168762 -Node: Semantics of --inv and --pnl169250 -Ref: #semantics-of---inv-and---pnl169489 -Node: IRR and TWR explained171339 -Ref: #irr-and-twr-explained171499 -Node: stats174567 -Ref: #stats174668 -Node: tags176048 -Ref: #tags176148 -Node: test176667 -Ref: #test176783 -Node: About add-on commands177530 -Ref: #about-add-on-commands177667 -Node: JOURNAL FORMAT178798 -Ref: #journal-format178926 -Node: Transactions181153 -Ref: #transactions181268 -Node: Dates182282 -Ref: #dates182398 -Node: Simple dates182463 -Ref: #simple-dates182583 -Node: Secondary dates183092 -Ref: #secondary-dates183240 -Node: Posting dates184576 -Ref: #posting-dates184699 -Node: Status186071 -Ref: #status186181 -Node: Code187889 -Ref: #code188001 -Node: Description188233 -Ref: #description188361 -Node: Payee and note188681 -Ref: #payee-and-note188789 -Node: Comments189124 -Ref: #comments189246 -Node: Tags190440 -Ref: #tags-1190551 -Node: Postings191944 -Ref: #postings192068 -Node: Virtual postings193094 -Ref: #virtual-postings193205 -Node: Account names194510 -Ref: #account-names194647 -Node: Amounts195135 -Ref: #amounts195272 -Node: Decimal marks digit group marks196257 -Ref: #decimal-marks-digit-group-marks196434 -Node: Commodity197455 -Ref: #commodity197644 -Node: Directives influencing number parsing and display198596 -Ref: #directives-influencing-number-parsing-and-display198857 -Node: Commodity display style199350 -Ref: #commodity-display-style199558 -Node: Rounding201753 -Ref: #rounding201873 -Node: Transaction prices202285 -Ref: #transaction-prices202451 -Node: Lot prices lot dates204882 -Ref: #lot-prices-lot-dates205065 -Node: Balance assertions205553 -Ref: #balance-assertions205731 -Node: Assertions and ordering206764 -Ref: #assertions-and-ordering206946 -Node: Assertions and included files207646 -Ref: #assertions-and-included-files207883 -Node: Assertions and multiple -f options208216 -Ref: #assertions-and-multiple--f-options208466 -Node: Assertions and commodities208598 -Ref: #assertions-and-commodities208824 -Node: Assertions and prices209981 -Ref: #assertions-and-prices210189 -Node: Assertions and subaccounts210629 -Ref: #assertions-and-subaccounts210852 -Node: Assertions and virtual postings211176 -Ref: #assertions-and-virtual-postings211412 -Node: Assertions and precision211554 -Ref: #assertions-and-precision211741 -Node: Balance assignments212008 -Ref: #balance-assignments212178 -Node: Balance assignments and prices213342 -Ref: #balance-assignments-and-prices213508 -Node: Directives213732 -Ref: #directives213895 -Node: Directives and multiple files218387 -Ref: #directives-and-multiple-files218583 -Node: Comment blocks219275 -Ref: #comment-blocks219452 -Node: Including other files219628 -Ref: #including-other-files219802 -Node: Default year220726 -Ref: #default-year220884 -Node: Declaring payees221291 -Ref: #declaring-payees221462 -Node: Declaring the decimal mark221708 -Ref: #declaring-the-decimal-mark221908 -Node: Declaring commodities222305 -Ref: #declaring-commodities222496 -Node: Commodity error checking225014 -Ref: #commodity-error-checking225164 -Node: Default commodity225421 -Ref: #default-commodity225601 -Node: Declaring market prices226717 -Ref: #declaring-market-prices226906 -Node: Declaring accounts227719 -Ref: #declaring-accounts227899 -Node: Account error checking229101 -Ref: #account-error-checking229267 -Node: Account comments230446 -Ref: #account-comments230630 -Node: Account subdirectives231054 -Ref: #account-subdirectives231239 -Node: Account types231552 -Ref: #account-types231726 -Node: Auto-detected account types233049 -Ref: #auto-detected-account-types233204 -Node: Account display order234439 -Ref: #account-display-order234599 -Node: Rewriting accounts235750 -Ref: #rewriting-accounts235929 -Node: Basic aliases236686 -Ref: #basic-aliases236822 -Node: Regex aliases237566 -Ref: #regex-aliases237728 -Node: Combining aliases238447 -Ref: #combining-aliases238630 -Node: Aliases and multiple files239906 -Ref: #aliases-and-multiple-files240105 -Node: end aliases240684 -Ref: #end-aliases240831 -Node: Default parent account240980 -Ref: #default-parent-account241170 -Node: Periodic transactions242054 -Ref: #periodic-transactions242237 -Node: Periodic rule syntax244154 -Ref: #periodic-rule-syntax244354 -Node: Two spaces between period expression and description!245058 -Ref: #two-spaces-between-period-expression-and-description245371 -Node: Forecasting with periodic transactions246055 -Ref: #forecasting-with-periodic-transactions246354 -Node: Budgeting with periodic transactions249125 -Ref: #budgeting-with-periodic-transactions249358 -Node: Auto postings249767 -Ref: #auto-postings249903 -Node: Auto postings and multiple files252082 -Ref: #auto-postings-and-multiple-files252280 -Node: Auto postings and dates252489 -Ref: #auto-postings-and-dates252757 -Node: Auto postings and transaction balancing / inferred amounts / balance assertions252932 -Ref: #auto-postings-and-transaction-balancing-inferred-amounts-balance-assertions253277 -Node: Auto posting tags253780 -Ref: #auto-posting-tags253989 -Node: CSV FORMAT254625 -Ref: #csv-format254753 -Node: Examples257382 -Ref: #examples257485 -Node: Basic257693 -Ref: #basic257795 -Node: Bank of Ireland258337 -Ref: #bank-of-ireland258474 -Node: Amazon259936 -Ref: #amazon260056 -Node: Paypal261775 -Ref: #paypal261871 -Node: CSV rules269515 -Ref: #csv-rules269633 -Node: skip269966 -Ref: #skip270066 -Node: fields list270441 -Ref: #fields-list270580 -Node: field assignment272083 -Ref: #field-assignment272235 -Node: Field names273270 -Ref: #field-names273410 -Node: date field273790 -Ref: #date-field273910 -Node: date2 field273958 -Ref: #date2-field274101 -Node: status field274157 -Ref: #status-field274302 -Node: code field274351 -Ref: #code-field274498 -Node: description field274543 -Ref: #description-field274705 -Node: comment field274764 -Ref: #comment-field274921 -Node: account field275221 -Ref: #account-field275373 -Node: amount field275948 -Ref: #amount-field276099 -Node: currency field277344 -Ref: #currency-field277499 -Node: balance field277756 -Ref: #balance-field277890 -Node: separator278262 -Ref: #separator278394 -Node: if block278934 -Ref: #if-block279061 -Node: Matching the whole record279462 -Ref: #matching-the-whole-record279639 -Node: Matching individual fields280442 -Ref: #matching-individual-fields280648 -Node: Combining matchers280872 -Ref: #combining-matchers281070 -Node: Rules applied on successful match281383 -Ref: #rules-applied-on-successful-match281576 -Node: if table282230 -Ref: #if-table282351 -Node: end284089 -Ref: #end284203 -Node: date-format284427 -Ref: #date-format284561 -Node: decimal-mark285557 -Ref: #decimal-mark285704 -Node: newest-first286043 -Ref: #newest-first286186 -Node: include286869 -Ref: #include287002 -Node: balance-type287446 -Ref: #balance-type287568 -Node: Tips288268 -Ref: #tips288359 -Node: Rapid feedback288658 -Ref: #rapid-feedback288777 -Node: Valid CSV289229 -Ref: #valid-csv289361 -Node: File Extension289553 -Ref: #file-extension289707 -Node: Reading multiple CSV files290136 -Ref: #reading-multiple-csv-files290323 -Node: Valid transactions290564 -Ref: #valid-transactions290744 -Node: Deduplicating importing291372 -Ref: #deduplicating-importing291553 -Node: Setting amounts292586 -Ref: #setting-amounts292743 -Node: Amount signs295184 -Ref: #amount-signs295338 -Node: Setting currency/commodity296025 -Ref: #setting-currencycommodity296213 -Node: Amount decimal places297387 -Ref: #amount-decimal-places297579 -Node: Referencing other fields297891 -Ref: #referencing-other-fields298090 -Node: How CSV rules are evaluated298987 -Ref: #how-csv-rules-are-evaluated299162 -Node: TIMECLOCK FORMAT300613 -Ref: #timeclock-format300753 -Node: TIMEDOT FORMAT302814 -Ref: #timedot-format302952 -Node: COMMON TASKS307514 -Ref: #common-tasks307643 -Node: Getting help308050 -Ref: #getting-help308184 -Node: Constructing command lines308737 -Ref: #constructing-command-lines308931 -Node: Starting a journal file309628 -Ref: #starting-a-journal-file309828 -Node: Setting opening balances311016 -Ref: #setting-opening-balances311214 -Node: Recording transactions314355 -Ref: #recording-transactions314537 -Node: Reconciling315093 -Ref: #reconciling315238 -Node: Reporting317495 -Ref: #reporting317637 -Node: Migrating to a new file321636 -Ref: #migrating-to-a-new-file321786 -Node: LIMITATIONS322085 -Ref: #limitations322213 -Node: TROUBLESHOOTING322956 -Ref: #troubleshooting323071 +Node: HTML output66365 +Ref: #html-output66486 +Node: JSON output66580 +Ref: #json-output66720 +Node: SQL output67637 +Ref: #sql-output67755 +Node: Commodity styles68256 +Ref: #commodity-styles68383 +Node: COMMANDS69159 +Ref: #commands69271 +Node: accounts72636 +Ref: #accounts72736 +Node: activity73432 +Ref: #activity73544 +Node: add73927 +Ref: #add74030 +Node: aregister76823 +Ref: #aregister76937 +Node: aregister and custom posting dates79302 +Ref: #aregister-and-custom-posting-dates79468 +Node: balance80020 +Ref: #balance80139 +Node: balance features81137 +Ref: #balance-features81277 +Node: Simple balance report83201 +Ref: #simple-balance-report83383 +Node: Filtered balance report84863 +Ref: #filtered-balance-report85050 +Node: List or tree mode85377 +Ref: #list-or-tree-mode85545 +Node: Depth limiting86890 +Ref: #depth-limiting87056 +Node: Dropping top-level accounts87657 +Ref: #dropping-top-level-accounts87859 +Node: Multi-period balance report88169 +Ref: #multi-period-balance-report88382 +Node: Showing declared accounts90657 +Ref: #showing-declared-accounts90855 +Node: Commodity layout91386 +Ref: #commodity-layout91556 +Node: Sorting by amount97592 +Ref: #sorting-by-amount97752 +Node: Percentages98422 +Ref: #percentages98580 +Node: Balance change end balance99541 +Ref: #balance-change-end-balance99734 +Node: Balance report types101162 +Ref: #balance-report-types101352 +Node: Useful balance reports105631 +Ref: #useful-balance-reports105812 +Node: Budget report106897 +Ref: #budget-report107081 +Node: Budget report start date112356 +Ref: #budget-report-start-date112534 +Node: Budgets and subaccounts113866 +Ref: #budgets-and-subaccounts114073 +Node: Selecting budget goals117513 +Ref: #selecting-budget-goals117685 +Node: Customising single-period balance reports118719 +Ref: #customising-single-period-balance-reports118928 +Node: balancesheet121103 +Ref: #balancesheet121241 +Node: balancesheetequity122540 +Ref: #balancesheetequity122691 +Node: cashflow124071 +Ref: #cashflow124195 +Node: check125341 +Ref: #check125446 +Node: Basic checks126080 +Ref: #basic-checks126198 +Node: Strict checks126749 +Ref: #strict-checks126890 +Node: Other checks127326 +Ref: #other-checks127466 +Node: Custom checks127823 +Ref: #custom-checks127943 +Node: close128360 +Ref: #close128464 +Node: close and prices130555 +Ref: #close-and-prices130684 +Node: close date131079 +Ref: #close-date131263 +Node: Example close asset/liability accounts for file transition132020 +Ref: #example-close-assetliability-accounts-for-file-transition132321 +Node: Hiding opening/closing transactions133180 +Ref: #hiding-openingclosing-transactions133451 +Node: close and balance assertions134828 +Ref: #close-and-balance-assertions135086 +Node: Example close revenue/expense accounts to retained earnings136440 +Ref: #example-close-revenueexpense-accounts-to-retained-earnings136718 +Node: codes137608 +Ref: #codes137718 +Node: commodities138430 +Ref: #commodities138559 +Node: descriptions138641 +Ref: #descriptions138771 +Node: diff139075 +Ref: #diff139183 +Node: files140230 +Ref: #files140332 +Node: help140479 +Ref: #help140581 +Node: import141399 +Ref: #import141515 +Node: Deduplication142380 +Ref: #deduplication142505 +Node: Import testing144399 +Ref: #import-testing144564 +Node: Importing balance assignments145052 +Ref: #importing-balance-assignments145258 +Node: Commodity display styles145907 +Ref: #commodity-display-styles146080 +Node: incomestatement146209 +Ref: #incomestatement146344 +Node: notes147649 +Ref: #notes147764 +Node: payees148132 +Ref: #payees148240 +Node: prices148766 +Ref: #prices148874 +Node: print149243 +Ref: #print149355 +Node: print-unique154670 +Ref: #print-unique154798 +Node: register155083 +Ref: #register155212 +Node: Custom register output159658 +Ref: #custom-register-output159789 +Node: register-match161126 +Ref: #register-match161262 +Node: rewrite161613 +Ref: #rewrite161730 +Node: Re-write rules in a file163636 +Ref: #re-write-rules-in-a-file163799 +Node: Diff output format164948 +Ref: #diff-output-format165131 +Node: rewrite vs print --auto166223 +Ref: #rewrite-vs.-print---auto166383 +Node: roi166939 +Ref: #roi167039 +Node: Spaces and special characters in --inv and --pnl168725 +Ref: #spaces-and-special-characters-in---inv-and---pnl168965 +Node: Semantics of --inv and --pnl169453 +Ref: #semantics-of---inv-and---pnl169692 +Node: IRR and TWR explained171542 +Ref: #irr-and-twr-explained171702 +Node: stats174770 +Ref: #stats174871 +Node: tags176251 +Ref: #tags176351 +Node: test176870 +Ref: #test176986 +Node: About add-on commands177733 +Ref: #about-add-on-commands177870 +Node: JOURNAL FORMAT179001 +Ref: #journal-format179129 +Node: Transactions181356 +Ref: #transactions181471 +Node: Dates182485 +Ref: #dates182601 +Node: Simple dates182666 +Ref: #simple-dates182786 +Node: Secondary dates183295 +Ref: #secondary-dates183443 +Node: Posting dates184779 +Ref: #posting-dates184902 +Node: Status186274 +Ref: #status186384 +Node: Code188092 +Ref: #code188204 +Node: Description188436 +Ref: #description188564 +Node: Payee and note188884 +Ref: #payee-and-note188992 +Node: Comments189327 +Ref: #comments189449 +Node: Tags190643 +Ref: #tags-1190754 +Node: Postings192147 +Ref: #postings192271 +Node: Virtual postings193297 +Ref: #virtual-postings193408 +Node: Account names194713 +Ref: #account-names194850 +Node: Amounts195338 +Ref: #amounts195475 +Node: Decimal marks digit group marks196460 +Ref: #decimal-marks-digit-group-marks196637 +Node: Commodity197658 +Ref: #commodity197847 +Node: Directives influencing number parsing and display198799 +Ref: #directives-influencing-number-parsing-and-display199060 +Node: Commodity display style199553 +Ref: #commodity-display-style199761 +Node: Rounding201956 +Ref: #rounding202076 +Node: Transaction prices202488 +Ref: #transaction-prices202654 +Node: Lot prices lot dates205085 +Ref: #lot-prices-lot-dates205268 +Node: Balance assertions205756 +Ref: #balance-assertions205934 +Node: Assertions and ordering206967 +Ref: #assertions-and-ordering207149 +Node: Assertions and included files207849 +Ref: #assertions-and-included-files208086 +Node: Assertions and multiple -f options208419 +Ref: #assertions-and-multiple--f-options208669 +Node: Assertions and commodities208801 +Ref: #assertions-and-commodities209027 +Node: Assertions and prices210184 +Ref: #assertions-and-prices210392 +Node: Assertions and subaccounts210832 +Ref: #assertions-and-subaccounts211055 +Node: Assertions and virtual postings211379 +Ref: #assertions-and-virtual-postings211615 +Node: Assertions and precision211757 +Ref: #assertions-and-precision211944 +Node: Balance assignments212211 +Ref: #balance-assignments212381 +Node: Balance assignments and prices213545 +Ref: #balance-assignments-and-prices213711 +Node: Directives213935 +Ref: #directives214098 +Node: Directives and multiple files218590 +Ref: #directives-and-multiple-files218786 +Node: Comment blocks219478 +Ref: #comment-blocks219655 +Node: Including other files219831 +Ref: #including-other-files220005 +Node: Default year220929 +Ref: #default-year221087 +Node: Declaring payees221494 +Ref: #declaring-payees221665 +Node: Declaring the decimal mark221911 +Ref: #declaring-the-decimal-mark222111 +Node: Declaring commodities222508 +Ref: #declaring-commodities222699 +Node: Commodity error checking225217 +Ref: #commodity-error-checking225367 +Node: Default commodity225624 +Ref: #default-commodity225804 +Node: Declaring market prices226920 +Ref: #declaring-market-prices227109 +Node: Declaring accounts227922 +Ref: #declaring-accounts228102 +Node: Account error checking229304 +Ref: #account-error-checking229470 +Node: Account comments230649 +Ref: #account-comments230833 +Node: Account subdirectives231257 +Ref: #account-subdirectives231442 +Node: Account types231755 +Ref: #account-types231929 +Node: Auto-detected account types233252 +Ref: #auto-detected-account-types233407 +Node: Account display order234642 +Ref: #account-display-order234802 +Node: Rewriting accounts235953 +Ref: #rewriting-accounts236132 +Node: Basic aliases236889 +Ref: #basic-aliases237025 +Node: Regex aliases237769 +Ref: #regex-aliases237931 +Node: Combining aliases238650 +Ref: #combining-aliases238833 +Node: Aliases and multiple files240109 +Ref: #aliases-and-multiple-files240308 +Node: end aliases240887 +Ref: #end-aliases241034 +Node: Default parent account241183 +Ref: #default-parent-account241373 +Node: Periodic transactions242257 +Ref: #periodic-transactions242440 +Node: Periodic rule syntax244357 +Ref: #periodic-rule-syntax244557 +Node: Two spaces between period expression and description!245261 +Ref: #two-spaces-between-period-expression-and-description245574 +Node: Forecasting with periodic transactions246258 +Ref: #forecasting-with-periodic-transactions246557 +Node: Budgeting with periodic transactions249328 +Ref: #budgeting-with-periodic-transactions249561 +Node: Auto postings249970 +Ref: #auto-postings250106 +Node: Auto postings and multiple files252285 +Ref: #auto-postings-and-multiple-files252483 +Node: Auto postings and dates252692 +Ref: #auto-postings-and-dates252960 +Node: Auto postings and transaction balancing / inferred amounts / balance assertions253135 +Ref: #auto-postings-and-transaction-balancing-inferred-amounts-balance-assertions253480 +Node: Auto posting tags253983 +Ref: #auto-posting-tags254192 +Node: CSV FORMAT254828 +Ref: #csv-format254956 +Node: Examples257585 +Ref: #examples257688 +Node: Basic257896 +Ref: #basic257998 +Node: Bank of Ireland258540 +Ref: #bank-of-ireland258677 +Node: Amazon260139 +Ref: #amazon260259 +Node: Paypal261978 +Ref: #paypal262074 +Node: CSV rules269718 +Ref: #csv-rules269836 +Node: skip270169 +Ref: #skip270269 +Node: fields list270644 +Ref: #fields-list270783 +Node: field assignment272286 +Ref: #field-assignment272438 +Node: Field names273473 +Ref: #field-names273613 +Node: date field273993 +Ref: #date-field274113 +Node: date2 field274161 +Ref: #date2-field274304 +Node: status field274360 +Ref: #status-field274505 +Node: code field274554 +Ref: #code-field274701 +Node: description field274746 +Ref: #description-field274908 +Node: comment field274967 +Ref: #comment-field275124 +Node: account field275424 +Ref: #account-field275576 +Node: amount field276151 +Ref: #amount-field276302 +Node: currency field277547 +Ref: #currency-field277702 +Node: balance field277959 +Ref: #balance-field278093 +Node: separator278465 +Ref: #separator278597 +Node: if block279137 +Ref: #if-block279264 +Node: Matching the whole record279665 +Ref: #matching-the-whole-record279842 +Node: Matching individual fields280645 +Ref: #matching-individual-fields280851 +Node: Combining matchers281075 +Ref: #combining-matchers281273 +Node: Rules applied on successful match281586 +Ref: #rules-applied-on-successful-match281779 +Node: if table282433 +Ref: #if-table282554 +Node: end284292 +Ref: #end284406 +Node: date-format284630 +Ref: #date-format284764 +Node: decimal-mark285760 +Ref: #decimal-mark285907 +Node: newest-first286246 +Ref: #newest-first286389 +Node: include287072 +Ref: #include287205 +Node: balance-type287649 +Ref: #balance-type287771 +Node: Tips288471 +Ref: #tips288562 +Node: Rapid feedback288861 +Ref: #rapid-feedback288980 +Node: Valid CSV289432 +Ref: #valid-csv289564 +Node: File Extension289756 +Ref: #file-extension289910 +Node: Reading multiple CSV files290339 +Ref: #reading-multiple-csv-files290526 +Node: Valid transactions290767 +Ref: #valid-transactions290947 +Node: Deduplicating importing291575 +Ref: #deduplicating-importing291756 +Node: Setting amounts292789 +Ref: #setting-amounts292946 +Node: Amount signs295387 +Ref: #amount-signs295541 +Node: Setting currency/commodity296228 +Ref: #setting-currencycommodity296416 +Node: Amount decimal places297590 +Ref: #amount-decimal-places297782 +Node: Referencing other fields298094 +Ref: #referencing-other-fields298293 +Node: How CSV rules are evaluated299190 +Ref: #how-csv-rules-are-evaluated299365 +Node: TIMECLOCK FORMAT300816 +Ref: #timeclock-format300956 +Node: TIMEDOT FORMAT303017 +Ref: #timedot-format303155 +Node: COMMON TASKS307717 +Ref: #common-tasks307846 +Node: Getting help308253 +Ref: #getting-help308387 +Node: Constructing command lines308940 +Ref: #constructing-command-lines309134 +Node: Starting a journal file309831 +Ref: #starting-a-journal-file310031 +Node: Setting opening balances311219 +Ref: #setting-opening-balances311417 +Node: Recording transactions314558 +Ref: #recording-transactions314740 +Node: Reconciling315296 +Ref: #reconciling315441 +Node: Reporting317698 +Ref: #reporting317840 +Node: Migrating to a new file321839 +Ref: #migrating-to-a-new-file321989 +Node: LIMITATIONS322288 +Ref: #limitations322416 +Node: TROUBLESHOOTING323159 +Ref: #troubleshooting323274  End Tag Table diff --git a/hledger/hledger.txt b/hledger/hledger.txt index 2cb0efff8..363677f8b 100644 --- a/hledger/hledger.txt +++ b/hledger/hledger.txt @@ -1554,28 +1554,25 @@ OUTPUT currently supported: - txt csv json html sql + txt csv html json sql --------------------------------------------- - aregister Y Y Y - balance [1] Y Y Y Y [2] - bal- Y Y Y Y + aregister Y Y Y + balance Y 1 Y 1 Y 1,2 Y + bal- Y 1 Y 1 Y 1 Y ancesheet - [1] - bal- Y Y Y Y + bal- Y 1 Y 1 Y 1 Y ancesheete- - quity [1] - cashflow Y Y Y Y - [1] - incomes- Y Y Y Y + quity + cashflow Y 1 Y 1 Y 1 Y + incomes- Y 1 Y 1 Y 1 Y tatement - [1] - print Y Y Y Y - register Y Y Y + print Y Y Y Y + register Y Y Y - o [1] Balance commands also have a multi-commodity --layout option - which affects some output formats. + o 1 Also affected by the balance commands' --layout option. - o [2] Except with no report interval, or with the --budget flag. + o 2 balance does not support html output without a report interval or + with --budget. The output format is selected by the -O/--output-format=FMT option: @@ -2294,6 +2291,16 @@ COMMANDS "total","VEA","36.00" "total","VHT","294.00" + Here is how --layout currently affects the various output formats: + + + txt csv html json sql + ------------------------------------- + + wide Y Y Y + tall Y Y Y + bare Y Y Y + Sorting by amount With -S/--sort-amount, accounts with the largest (most positive) bal- ances are shown first. Eg: hledger bal expenses -MAS shows your big- @@ -4934,6 +4941,7 @@ JOURNAL FORMAT budget goals Generate extra postings = CHECKING FOR ERRORS: + Define valid entities to allow account, commodity, stricter error checking payee DISPLAYING REPORTS: