From 8fd5f4ee57f146d8486c39becced0a75ee622d31 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Mon, 14 Feb 2005 08:27:53 +0000 Subject: Added support for "--pager PROGRAM". A likely way to define it in your login file would be: "export LEDGER_PAGER=$PAGER". --- config.cc | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'config.cc') diff --git a/config.cc b/config.cc index baf244b3..49f1c666 100644 --- a/config.cc +++ b/config.cc @@ -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); -- cgit v1.2.3