Page MenuHomeFreeBSD

Fix usage()
ClosedPublic

Authored by garga on Jan 12 2017, 1:02 PM.
Tags
None
Referenced Files
Unknown Object (File)
Feb 20 2024, 6:44 AM
Unknown Object (File)
Jan 21 2024, 2:41 AM
Unknown Object (File)
Dec 24 2023, 3:55 PM
Unknown Object (File)
Dec 20 2023, 3:46 AM
Unknown Object (File)
Dec 16 2023, 2:45 PM
Unknown Object (File)
Dec 16 2023, 2:44 PM
Unknown Object (File)
Nov 30 2023, 7:51 AM
Unknown Object (File)
Nov 10 2023, 2:28 AM
Subscribers

Details

Summary
  • Add missing parameters to usage()
  • Add missing parameters to manpage synopsis
  • Add missing description of -d flag
  • Sort flags descriptions

Sponsored by: Rubicon Communications (Netgate)
MFC after: 1 week

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

garga retitled this revision from to Fix usage().
garga updated this object.
garga edited the test plan for this revision. (Show Details)
garga added a reviewer: loos.

A bunch of these options appear to be missing from the fsck_ffs man page as well

The only option missing description was -d, other were only being missed in usage

garga added a reviewer: kib.
kib edited edge metadata.

Would be useful to order the descriptions of the flags alphabetically, as a follow-up.

This revision is now accepted and ready to land.Feb 14 2017, 6:36 PM
garga edited edge metadata.

Sort manpage flags descriptions

This revision now requires review to proceed.Feb 14 2017, 8:26 PM
garga edited edge metadata.
kib edited edge metadata.
This revision is now accepted and ready to land.Feb 14 2017, 8:34 PM

The synopsis lists -C, but it is not described in the man page anywhere.

It seems to only be in the fsck manpage

It's hidden in the patch because it was not touched by this commit but it's there at https://github.com/freebsd/freebsd/blob/master/sbin/fsck_ffs/fsck_ffs.8#L201

allanjude edited edge metadata.

Approved By: allanjude

This revision was automatically updated to reflect the committed changes.