Module Name: src
Committed By: ginsbach
Date: Wed Aug 1 02:27:48 UTC 2012
Modified Files:
src/usr.bin/pr: pr.c
Log Message:
Minor tweaks to usage:
- Sort options to match pr(1) SYNOPSIS (suggested by wiz)
- Add missing -T timefmt option
To generate a diff of this commit:
cvs rdiff -u -r1.23 -r1.24 src/usr.bin/pr/pr.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/usr.bin/pr/pr.c
diff -u src/usr.bin/pr/pr.c:1.23 src/usr.bin/pr/pr.c:1.24
--- src/usr.bin/pr/pr.c:1.23 Tue Jul 24 02:13:04 2012
+++ src/usr.bin/pr/pr.c Wed Aug 1 02:27:48 2012
@@ -1,4 +1,4 @@
-/* $NetBSD: pr.c,v 1.23 2012/07/24 02:13:04 ginsbach Exp $ */
+/* $NetBSD: pr.c,v 1.24 2012/08/01 02:27:48 ginsbach Exp $ */
/*-
* Copyright (c) 1991 Keith Muller.
@@ -45,7 +45,7 @@ __COPYRIGHT("@(#) Copyright (c) 1993\
#if 0
from: static char sccsid[] = "@(#)pr.c 8.1 (Berkeley) 6/6/93";
#else
-__RCSID("$NetBSD: pr.c,v 1.23 2012/07/24 02:13:04 ginsbach Exp $");
+__RCSID("$NetBSD: pr.c,v 1.24 2012/08/01 02:27:48 ginsbach Exp $");
#endif
#endif /* not lint */
@@ -1612,11 +1612,14 @@ static void
usage(void)
{
(void)fputs(
- "usage: pr [+page] [-col] [-adFmrt] [-e[ch][gap]] [-h header]\n",errf);
+ "usage: pr [+page] [-col] [-adFfmprt] [-e[ch][gap]] [-h header]\n",
+ errf);
(void)fputs(
- " [-i[ch][gap]] [-l line] [-n[ch][width]] [-o offset]\n",errf);
+ " [-i[ch][gap]] [-l line] [-n[ch][width]] [-o offset]\n",
+ errf);
(void)fputs(
- " [-s[ch]] [-w width] [-fp] [-] [file ...]\n", errf);
+ " [-s[ch]] [-T timefmt] [-w width] [-] [file ...]\n",
+ errf);
}
/*