aboutsummaryrefslogtreecommitdiffstats
path: root/src/seq.c
diff options
context:
space:
mode:
authorPádraig Brady <P@draigBrady.com>2014-09-18 14:50:47 +0100
committerPádraig Brady <P@draigBrady.com>2014-09-19 11:24:05 +0100
commit8e93dc629727140e950a709008f9a17ca461af63 (patch)
tree73e81ea9f1be3ba95f097a3802dc7fdc750c97b4 /src/seq.c
parentdoc: ensure the correct texinfo nodes are referenced in --help (diff)
downloadcoreutils-8e93dc629727140e950a709008f9a17ca461af63.tar.gz
coreutils-8e93dc629727140e950a709008f9a17ca461af63.zip
doc: output correct --help references with --program-prefix
* src/system.h (emit_ancillary_info): Take the invariant PROGRAM_NAME as a parameter, so that consistent references are made to online docs and texinfo nodes, when a --program-prefix is in place. Note the man pages don't need this fix as they're generated before the program prefix is used. * NEWS: Mention the improvements in references to online documentation.
Diffstat (limited to 'src/seq.c')
-rw-r--r--src/seq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/seq.c b/src/seq.c
index 7943824d1..39a300186 100644
--- a/src/seq.c
+++ b/src/seq.c
@@ -98,7 +98,7 @@ FORMAT must be suitable for printing one argument of type 'double';\n\
it defaults to %.PRECf if FIRST, INCREMENT, and LAST are all fixed point\n\
decimal numbers with maximum precision PREC, and to %g otherwise.\n\
"), stdout);
- emit_ancillary_info ();
+ emit_ancillary_info (PROGRAM_NAME);
}
exit (status);
}