Bug 15285

Summary: unhelpful error message from brandelf
Product: Base System Reporter: Mark Diekhans <markd>
Component: binAssignee: Wes Peters <wes>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 3.3-RELEASE   
Hardware: Any   
OS: Any   

Description Mark Diekhans 1999-12-05 19:10:00 UTC
brandelf does not give a complete usage message if no arguments are specified,
instead one gets:
        brandelf: no file(s) specified

The usage message should be included as well:
        brandelf: no file(s) specified
        usage: brandelf [-f] [-v] [-t string] file ...

which is what it does if you give a bogus option
Comment 1 Ahmed Benani 1999-12-06 00:35:21 UTC
STOP SENDING YOUR MESSAGES I RECEIVED MORE THAN 200 PER DAY AND I NEVER
UBSCRIBE TO YOUR LIST: THANK YOU FOR YOUR COOPERATION
ahmed_benani@urbanet.ch
----------
>De=A0: Mark Diekhans <markd@Kermodei.COM>
>=C0 : FreeBSD-gnats-submit@FreeBSD.ORG
>Objet=A0: bin/15285: unhelpful error message from brandelf
>Date=A0: Dim 5 d=E9c 1999 20:03
>

>
>>Number:         15285
>>Category:       bin
>>Synopsis:       unhelpful error message from brandelf
>>Confidential:   no
>>Severity:       non-critical
>>Priority:       low
>>Responsible:    freebsd-bugs
>>State:          open
>>Quarter:        
>>Keywords:       
>>Date-Required:
>>Class:          sw-bug
>>Submitter-Id:   current-users
>>Arrival-Date:   Sun Dec  5 11:10:00 PST 1999
>>Closed-Date:
>>Last-Modified:
>>Originator:     Mark Diekhans
>>Release:        FreeBSD 3.3-RELEASE i386
>>Organization:
>>Environment:
>
>
>>Description:
>
>brandelf does not give a complete usage message if no arguments are specif=
ied,
>instead one gets:
>        brandelf: no file(s) specified
>
>The usage message should be included as well:
>        brandelf: no file(s) specified
>        usage: brandelf [-f] [-v] [-t string] file ...
>
>which is what it does if you give a bogus option
>
>>How-To-Repeat:
>
>
>>Fix:
> 
>
>
>>Release-Note:
>>Audit-Trail:
>>Unformatted:
>
>
>To Unsubscribe: send mail to majordomo@FreeBSD.org
>with "unsubscribe freebsd-bugs" in the body of the message
>
>
Comment 2 Wes Peters freebsd_committer freebsd_triage 2000-01-04 02:26:03 UTC
Responsible Changed
From-To: freebsd-bugs->wes

I'm fixing it. 
Comment 3 Wes Peters freebsd_committer freebsd_triage 2000-01-04 02:34:34 UTC
State Changed
From-To: open->feedback

Give it a week, then MFC. 
Comment 4 Wes Peters freebsd_committer freebsd_triage 2000-02-23 04:41:44 UTC
State Changed
From-To: feedback->open

Time to MFC this, I guess.  Nobody's noticed, let alone complained. 
Comment 5 Wes Peters freebsd_committer freebsd_triage 2000-06-27 18:43:58 UTC
State Changed
From-To: open->closed

Finally MFC'd the change.  Nobody commented on it, so it must no 
have broken much in -current.