diff options
author | brian <brian@FreeBSD.org> | 1997-12-11 02:38:56 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 1997-12-11 02:38:56 +0000 |
commit | 757ccea1a9173826b2260207042c45c332b2fb56 (patch) | |
tree | 2a1a8636b42e78f7bb54edc6a8de7a2f2378416c /bin/date/date.c | |
parent | 043ed4f1ba6194c3842d5880197eab2380e3e2bd (diff) | |
download | FreeBSD-src-757ccea1a9173826b2260207042c45c332b2fb56.zip FreeBSD-src-757ccea1a9173826b2260207042c45c332b2fb56.tar.gz |
Put [+format] at the end of the usage message.
Make `date -?' output (pretty much) the same as
the man page
PR: 5269
Diffstat (limited to 'bin/date/date.c')
-rw-r--r-- | bin/date/date.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/bin/date/date.c b/bin/date/date.c index 31112cd..f5f7ead 100644 --- a/bin/date/date.c +++ b/bin/date/date.c @@ -30,7 +30,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: date.c,v 1.7.2.5 1997/10/01 06:12:58 danny Exp $ + * $Id: date.c,v 1.21 1997/10/03 12:49:28 danny Exp $ */ #ifndef lint @@ -276,7 +276,8 @@ static void usage() { (void)fprintf(stderr, "%s\n%s\n", - "usage: date [-nu] [-d dst] [-r seconds] [-t west] [+format]", - " [-v [+|-]val[ymwdHM]] ... [-f fmt date | [[[[yy]mm]dd]HH]MM[.ss]]"); + "usage: date [-nu] [-d dst] [-r seconds] [-t west] " + "[-v[+|-]val[ymwdHM]] ... ", + " [-f fmt date | [[[[yy]mm]dd]HH]MM[.ss]] [+format]"); exit(1); } |