Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/bin/date Add -R to usage
details: https://anonhg.NetBSD.org/src/rev/0ed0379abc06
branches: trunk
changeset: 376084:0ed0379abc06
user: kim <kim%NetBSD.org@localhost>
date: Wed May 31 17:56:54 2023 +0000
description:
Add -R to usage
diffstat:
bin/date/date.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (32 lines):
diff -r acee2a617f0c -r 0ed0379abc06 bin/date/date.c
--- a/bin/date/date.c Wed May 31 17:52:02 2023 +0000
+++ b/bin/date/date.c Wed May 31 17:56:54 2023 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: date.c,v 1.64 2023/05/31 16:01:53 kim Exp $ */
+/* $NetBSD: date.c,v 1.65 2023/05/31 17:56:54 kim Exp $ */
/*
* Copyright (c) 1985, 1987, 1988, 1993
@@ -44,7 +44,7 @@
#if 0
static char sccsid[] = "@(#)date.c 8.2 (Berkeley) 4/28/95";
#else
-__RCSID("$NetBSD: date.c,v 1.64 2023/05/31 16:01:53 kim Exp $");
+__RCSID("$NetBSD: date.c,v 1.65 2023/05/31 17:56:54 kim Exp $");
#endif
#endif /* not lint */
@@ -404,11 +404,11 @@ static void
usage(void)
{
(void)fprintf(stderr,
- "Usage: %s [-ajnu] [-d date] [-r seconds] [+format]",
+ "Usage: %s [-ajnRu] [-d date] [-r seconds] [+format]",
getprogname());
(void)fprintf(stderr, " [[[[[[CC]yy]mm]dd]HH]MM[.SS]]\n");
(void)fprintf(stderr,
- " %s [-ajnu] -f input_format new_date [+format]\n",
+ " %s [-ajnRu] -f input_format new_date [+format]\n",
getprogname());
exit(EXIT_FAILURE);
/* NOTREACHED */
Home |
Main Index |
Thread Index |
Old Index