Bug 22371

Summary: style(9) example violates style(9)
Product: Documentation Reporter: Andrew Stevenson <andrew>
Component: Books & ArticlesAssignee: freebsd-doc (Nobody) <doc>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description Andrew Stevenson 2000-10-28 08:30:01 UTC
In style(9) there is an example of a usage function that has the line:

exit(1);

style(9) states elsewhere:

Exits should be 0 on success, or according to the predefined values in
sysexits(3).

Presumably that should therefore read:

exit(EX_USAGE);

I thought I PRed about this years ago but I can't find it when I do a search
so sorry if this is a duplicate.
Comment 1 alex freebsd_committer freebsd_triage 2000-10-28 11:06:59 UTC
State Changed
From-To: open->closed

Committed, thanks