From nnd@nnd.itfs.nsk.su Sat Apr 10 06:00:38 1999
Return-Path: <nnd@nnd.itfs.nsk.su>
Received: from nnd.itfs.nsk.su (nnd.itfs.nsk.su [212.20.32.42])
	by hub.freebsd.org (Postfix) with ESMTP id ED1C714FCC
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 10 Apr 1999 06:00:34 -0700 (PDT)
	(envelope-from nnd@nnd.itfs.nsk.su)
Received: (from root@localhost)
	by nnd.itfs.nsk.su (8.9.3/8.9.1) id TAA02807;
	Sat, 10 Apr 1999 19:58:20 +0700 (NSS)
	(envelope-from nnd)
Message-Id: <199904101258.TAA02807@nnd.itfs.nsk.su>
Date: Sat, 10 Apr 1999 19:58:20 +0700 (NSS)
From: nnd@mail.nsk.ru
Sender: nnd@nnd.itfs.nsk.su
Reply-To: nnd@mail.nsk.ru
To: FreeBSD-gnats-submit@freebsd.org
Subject: /usr/sbin/config's SYNOPSIS and usage correction
X-Send-Pr-Version: 3.2

>Number:         11056
>Category:       bin
>Synopsis:       /usr/sbin/config's SYNOPSIS and usage correction
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Apr 10 06:00:00 PDT 1999
>Closed-Date:    Sat Apr 10 07:03:51 PDT 1999
>Last-Modified:  Sat Apr 10 07:04:29 PDT 1999
>Originator:     Nickolay N. Dudorov
>Release:        FreeBSD 4.0-CURRENT i386
>Organization:
STE Infoteka
>Environment:

		 FreeBSD 4.0-CURRENT i386

>Description:

	/usr/sbin/config have a new 's' flag, but it's 'usage'
	and 'SYNOPSIS' does'nt show this flag (whereas the flag
	themself is described in man page).

>How-To-Repeat:

	man config

	or

	config -h

>Fix:
	
	Applay the next patch in /usr/src directory:

diff -ru usr.sbin/config.OLD/config.8 usr.sbin/config/config.8
--- usr.sbin/config.OLD/config.8	Fri Apr  9 20:55:25 1999
+++ usr.sbin/config/config.8	Sat Apr 10 19:40:10 1999
@@ -39,7 +39,7 @@
 .Nd build system configuration files
 .Sh SYNOPSIS
 .Nm config
-.Op Fl gpr
+.Op Fl gprs
 .Ar SYSTEM_NAME
 .Sh DESCRIPTION
 This is the old version of the
diff -ru usr.sbin/config.OLD/main.c usr.sbin/config/main.c
--- usr.sbin/config.OLD/main.c	Fri Apr  9 20:55:26 1999
+++ usr.sbin/config/main.c	Sat Apr 10 19:40:34 1999
@@ -224,7 +224,7 @@
 static void
 usage()
 {
-		fprintf(stderr, "usage: config [-gpr] sysname\n");
+		fprintf(stderr, "usage: config [-gprs] sysname\n");
 		exit(1);
 }



>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: ache 
State-Changed-When: Sat Apr 10 07:03:51 PDT 1999 
State-Changed-Why:  
fixed 
>Unformatted:
