diff options
author | John Wiegley <johnw@newartisans.com> | 2005-02-14 08:27:53 +0000 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2008-04-13 02:41:00 -0400 |
commit | 8fd5f4ee57f146d8486c39becced0a75ee622d31 (patch) | |
tree | ffccdf177a546262ab3aeb2bd01c8d6a220456df /config.cc | |
parent | 219492564c6a4f6027c2eff37bc0a7b1455ad969 (diff) | |
download | fork-ledger-8fd5f4ee57f146d8486c39becced0a75ee622d31.tar.gz fork-ledger-8fd5f4ee57f146d8486c39becced0a75ee622d31.tar.bz2 fork-ledger-8fd5f4ee57f146d8486c39becced0a75ee622d31.zip |
Added support for "--pager PROGRAM". A likely way to define it in
your login file would be: "export LEDGER_PAGER=$PAGER".
Diffstat (limited to 'config.cc')
-rw-r--r-- | config.cc | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -725,6 +725,10 @@ OPT_BEGIN(tail, ":") { config.tail_entries = std::atoi(optarg); } OPT_END(tail); +OPT_BEGIN(pager, ":") { + config.pager = optarg; +} OPT_END(pager); + OPT_BEGIN(empty, "E") { config.show_empty = true; } OPT_END(empty); |