diff --git a/doc/lib.m4 b/doc/lib.m4 index f29183ea4..37c430e1b 100644 --- a/doc/lib.m4 +++ b/doc/lib.m4 @@ -82,7 +82,7 @@ m4_define({{_generaloptions_}}, {{ `--alias=OLD=NEW` : display accounts named OLD as NEW -`--ignore-assertions` +`-I --ignore-assertions` : ignore any failing balance assertions in the journal }} )m4_dnl diff --git a/hledger/Hledger/Cli/CliOptions.hs b/hledger/Hledger/Cli/CliOptions.hs index b9e960538..a32515a07 100644 --- a/hledger/Hledger/Cli/CliOptions.hs +++ b/hledger/Hledger/Cli/CliOptions.hs @@ -117,7 +117,7 @@ inputflags = [ flagReq ["file","f"] (\s opts -> Right $ setopt "file" s opts) "FILE" "use a different input file. For stdin, use -" ,flagReq ["rules-file"] (\s opts -> Right $ setopt "rules-file" s opts) "RFILE" "CSV conversion rules file (default: FILE.rules)" ,flagReq ["alias"] (\s opts -> Right $ setopt "alias" s opts) "OLD=NEW" "display accounts named OLD as NEW" - ,flagNone ["ignore-assertions"] (setboolopt "ignore-assertions") "ignore any balance assertions in the journal" + ,flagNone ["ignore-assertions","I"] (setboolopt "ignore-assertions") "ignore any balance assertions in the journal" ,flagReq ["pivot"] (\s opts -> Right $ setopt "pivot" s opts) "TAG" "Replace the accounts of postings with TAG by TAG:" ]