From acl@alphax.mini.pw.edu.pl  Wed Aug  6 11:53:02 2003
Return-Path: <acl@alphax.mini.pw.edu.pl>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 0143537B401
	for <FreeBSD-gnats-submit@freebsd.org>; Wed,  6 Aug 2003 11:53:02 -0700 (PDT)
Received: from alphax.mini.pw.edu.pl (alphax.mini.pw.edu.pl [194.29.178.11])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 4478443FCB
	for <FreeBSD-gnats-submit@freebsd.org>; Wed,  6 Aug 2003 11:53:01 -0700 (PDT)
	(envelope-from acl@alphax.mini.pw.edu.pl)
Received: from localhost (unknown [127.0.0.1])
	by alphax.mini.pw.edu.pl (Postfix) with ESMTP id C2E661707C
	for <FreeBSD-gnats-submit@freebsd.org>; Wed,  6 Aug 2003 20:49:08 +0200 (CEST)
Received: from alphax.mini.pw.edu.pl ([127.0.0.1])
 by localhost (alphax.mini.pw.edu.pl [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id 26800-09 for <FreeBSD-gnats-submit@freebsd.org>;
 Wed,  6 Aug 2003 20:47:26 +0200 (CEST)
Received: by alphax.mini.pw.edu.pl (Postfix, from userid 1009)
	id 49AF31707E; Wed,  6 Aug 2003 20:47:25 +0200 (CEST)
Message-Id: <20030806184725.49AF31707E@alphax.mini.pw.edu.pl>
Date: Wed,  6 Aug 2003 20:47:25 +0200 (CEST)
From: Grzegorz Czaplinski <G.Czaplinski@prioris.mini.pw.edu.pl>
Reply-To: Grzegorz Czaplinski <G.Czaplinski@prioris.mini.pw.edu.pl>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: setfacl(1) has a '-v' option that has to be removed from error message.
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         55318
>Category:       bin
>Synopsis:       setfacl(1) has a '-v' option that has to be removed from error message.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    rwatson
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Aug 06 12:00:29 PDT 2003
>Closed-Date:    Thu Aug 07 07:44:05 PDT 2003
>Last-Modified:  Thu Aug 07 07:44:05 PDT 2003
>Originator:     Grzegorz Czaplinski
>Release:        FreeBSD 5.1-RELEASE i386
>Organization:
>Environment:
System: FreeBSD alphax.mini.pw.edu.pl 5.1-RELEASE FreeBSD 5.1-RELEASE #1: Mon Jun 16 20:46:55 CEST 2003 root@alphax.mini.pw.edu.pl:/usr/obj/usr/src/sys/ALPHAX i386

>Description:
	The setfacl(1) indicates there is -v option. 
	
>How-To-Repeat:
	% setfacl -v -m m::r file.txt
	setfacl: illegal option -- v
	usage: setfacl [-bdhknv] [-m entries] [-M file1] [-x entries] [-X file2] [file ...]

>Fix:

Change function usage in setfacl.c to read:

static void
usage(void)
{

        fprintf(stderr, "usage: setfacl [-bdkn] [-m entries] [-M file1] "
            "[-x entries] [-X file2] [file ...]\n");
        exit(1);
}
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->rwatson 
Responsible-Changed-By: ceri 
Responsible-Changed-When: Wed Aug 6 14:47:20 PDT 2003 
Responsible-Changed-Why:  
Over to maintainer. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=55318 
State-Changed-From-To: open->closed 
State-Changed-By: rwatson 
State-Changed-When: Thu Aug 7 07:42:17 PDT 2003 
State-Changed-Why:  
Committed as setfacl.c:1.9, thanks! 


http://www.freebsd.org/cgi/query-pr.cgi?pr=55318 
>Unformatted:
