From 89e0c05f11b2760360bcfa8122749dfd2726c55d Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Wed, 31 May 2023 16:42:30 -1000 Subject: [PATCH] ;imp:doc:cli: trim argument files --- hledger/hledger.m4.md | 22 ++-------------------- 1 file changed, 2 insertions(+), 20 deletions(-) diff --git a/hledger/hledger.m4.md b/hledger/hledger.m4.md index a250d01b0..ec09b1eb0 100644 --- a/hledger/hledger.m4.md +++ b/hledger/hledger.m4.md @@ -441,28 +441,10 @@ and then reuse them by writing `@FILENAME` as a command line argument. Eg: `hledger bal @foo.args`. Inside the argument file, each line should contain just one option or argument. -Also, don't use spaces except inside quotes (or you'll see a confusing error). -Ie, write = (or nothing) between a flag and its argument. -Eg, bad: - - assets -X USD - -Good: - - assets - -X=USD - +Don't use spaces except inside quotes (or you'll see a confusing error); +write `=` (or nothing) between a flag and its argument. For the special characters mentioned above, use one less level of quoting than you would at the command prompt. -Eg, bad: - - -X"$" - -Good: - - -X$ - -See also: [Save frequently used options](/save-frequently-used-options.html). # Output