Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Nov 2019 00:32:58 +0000
From:      bugzilla-noreply@freebsd.org
To:        doc@FreeBSD.org
Subject:   [Bug 241959] su documentation is misleading
Message-ID:  <bug-241959-9@https.bugs.freebsd.org/bugzilla/>

index | next in thread | raw e-mail

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=241959

            Bug ID: 241959
           Summary: su documentation is misleading
           Product: Documentation
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Manual Pages
          Assignee: bugs@FreeBSD.org
          Reporter: dewayne@heuristicsystems.com.au
                CC: doc@FreeBSD.org

su use and documentation is misleading.  Please review the following:

# /usr/bin/su -m root -C  ; # This was intentional to get usage
Unknown option: `-C'
Usage: _su [ -bcdefilmnqstvVxX ] [ argument ... ].

# /usr/bin/su -h
su: illegal option -- h
usage: su [-] [-flms] [-c class] [login [args]]

The latter is what is documented in the man page, but the actual use is
described by the former.

It must be very confusing for newbies (or oldies that look into what they use).

-- 
You are receiving this mail because:
You are on the CC list for the bug.

help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-241959-9>