Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 May 1999 16:27:24 +0300 (EEST)
From:      Ruslan Ermilov <ru@ucb.crimea.ua>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   bin/11539: touch.c usage sync with touch(1)
Message-ID:  <199905061327.QAA61990@relay.ucb.crimea.ua>

next in thread | raw e-mail | index | archive | help

>Number:         11539
>Category:       bin
>Synopsis:       touch.c usage sync with touch(1)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu May  6 06:40:00 PDT 1999
>Closed-Date:
>Last-Modified:
>Originator:     Ruslan Ermilov
>Release:        FreeBSD 3.1-STABLE i386
>Organization:
United Commercial Bank
>Environment:

CURRENT and RELENG_3.

>Description:

Display the same usage prompt as in manpage.

>How-To-Repeat:


>Fix:
	
Index: touch.c
===================================================================
RCS file: /usr/FreeBSD-CVS/src/usr.bin/touch/touch.c,v
retrieving revision 1.8
diff -u -r1.8 touch.c
--- touch.c	1999/01/05 10:13:54	1.8
+++ touch.c	1999/05/06 13:13:31
@@ -344,6 +344,6 @@
 usage()
 {
 	(void)fprintf(stderr,
-	    "usage: touch [-acfm] [-r file] [-t time] file ...\n");
+	    "usage: touch [-acfm] [-r file] [-t [[CC]YY]MMDDhhmm[.SS]] file ...\n");
 	exit(1);
 }

>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199905061327.QAA61990>