Bug 592 - fixmdoc removes -S from man 8 sudo when built without selinux
fixmdoc removes -S from man 8 sudo when built without selinux
Status: RESOLVED FIXED
Product: Sudo
Classification: Unclassified
Component: Documentation
1.8.6
PC Linux
: low normal
Assigned To: Todd C. Miller
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-02-28 05:38 MST by Florian Pritz
Modified: 2013-03-03 05:30 MST (History)
0 users

See Also:


Attachments
Don't remove the -S option from the list (476 bytes, patch)
2013-02-28 06:42 MST, Todd C. Miller
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Florian Pritz 2013-02-28 05:38:03 MST
Run the following in ./doc:
LCMAN=0 SEMAN=1 PSMAN=0 ./fixmdoc.sh sudo.mdoc.sed; make sudo.mdoc; man ./sudo.mdoc

Change SEMAN=1 to 0 and notice how -S is no longer documented although it is still available.

Expected result: -S should be in DESCRIPTION, not only in SYNOPSIS.

Tested with sudo-1.8.6p6 on Arch Linux.
Comment 1 Todd C. Miller 2013-02-28 06:42:02 MST
Created attachment 363 [details]
Don't remove the -S option from the list
Comment 2 Florian Pritz 2013-02-28 07:16:58 MST
That patches works fine. Thank you.