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

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D241959

            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 u=
se).

--=20
You are receiving this mail because:
You are the assignee for the bug.=



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