aboutsummaryrefslogtreecommitdiff
path: root/bin/date/date.c
diff options
context:
space:
mode:
authorBrian Somers <brian@FreeBSD.org>1997-12-11 02:38:56 +0000
committerBrian Somers <brian@FreeBSD.org>1997-12-11 02:38:56 +0000
commitad1c694bdc05e37c456b44b0b248b0096d0f07c5 (patch)
tree52e7b0c5fe5b93b379de47eaa51e2a624efb94d6 /bin/date/date.c
parent3a2dc656bc1fdb29b2b2381afb1d35ef4f8278c8 (diff)
downloadsrc-ad1c694bdc05e37c456b44b0b248b0096d0f07c5.tar.gz
src-ad1c694bdc05e37c456b44b0b248b0096d0f07c5.zip
Put [+format] at the end of the usage message.
Make `date -?' output (pretty much) the same as the man page PR: 5269
Notes
Notes: svn path=/head/; revision=31668
Diffstat (limited to 'bin/date/date.c')
-rw-r--r--bin/date/date.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/bin/date/date.c b/bin/date/date.c
index 31112cdd3499..f5f7eada3f52 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);
}