summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Hildebrandt <afh@surryhill.net>2015-01-27 21:53:01 +0100
committerAlexis Hildebrandt <afh@surryhill.net>2015-01-27 21:53:01 +0100
commitc637bdded01bd480771068c0a95a4e749b70bf51 (patch)
treeaf05a6c844abf043d45ea3093dbfe4c658758233
parentfcb040f643d5050f776663504bd106b54274abba (diff)
parent6b5ff2aebfc55cb9cd2f8e621663d3b749179a66 (diff)
downloadfork-ledger-c637bdded01bd480771068c0a95a4e749b70bf51.tar.gz
fork-ledger-c637bdded01bd480771068c0a95a4e749b70bf51.tar.bz2
fork-ledger-c637bdded01bd480771068c0a95a4e749b70bf51.zip
Merge pull request #382 from thdox/add-to-doc
Add documentation for --no-pager option.
-rw-r--r--doc/ledger.14
-rw-r--r--doc/ledger3.texi18
2 files changed, 16 insertions, 6 deletions
diff --git a/doc/ledger.1 b/doc/ledger.1
index 9aac44e5..03cd9dac 100644
--- a/doc/ledger.1
+++ b/doc/ledger.1
@@ -622,8 +622,8 @@ Shorthand for
Aliases are completely ignored.
.It Fl \-no-color
Suppress any color TTY output.
-.\".It Fl \-no-pager
-Suppress any color TTY output.
+.It Fl \-no-pager
+Disables the pager on TTY output.
.It Fl \-no-rounding
Don't output
.Nm <Rounding>
diff --git a/doc/ledger3.texi b/doc/ledger3.texi
index a05f15db..8615c0d7 100644
--- a/doc/ledger3.texi
+++ b/doc/ledger3.texi
@@ -5620,6 +5620,9 @@ Report the last @var{INT} postings.
@item --pager @var{FILE}
Direct output to @var{FILE} pager program.
+@item --no-pager
+Direct output to stdout, avoiding pager program.
+
@item --average
@itemx -A
Report the average posting value.
@@ -6430,6 +6433,9 @@ Aliases are completely ignored.
@item --no-color
Suppress any color TTY output.
+@item --no-pager
+Direct output to stdout, avoiding pager program.
+
@item --no-rounding
Don't output @samp{<Rounding>} postings. Note that this will cause the
running total to often not add up! Its main use is for
@@ -6453,7 +6459,7 @@ been executed, such as periodic gathering.
Redirect the output of ledger to the file defined in @file{FILE}.
@item --pager @var{FILE}
-Specify the pager program to use.
+Direct output to @var{FILE} pager program.
@item --payee @var{VEXPR}
Sets a value expression for formatting the payee. In the
@@ -6960,9 +6966,13 @@ meaning of the flag (instead of the first five transactions being
printed, for example, it would print all but the first five).
@item --pager @var{FILE}
-Tell Ledger to pass its output to the given pager program; very useful
-when the output is especially long. This behavior can be made the
-default by setting the @env{LEDGER_PAGER} environment variable.
+Tell Ledger to pass its output to the given @var{FILE} pager program;
+very useful when the output is especially long. This behavior can be
+made the default by setting the @env{LEDGER_PAGER} environment variable.
+
+@item --no-pager
+Tell Ledger to @emph{not} pass its output to a pager program; useful
+when a pager is set by default.
@item --average
@itemx -A