ls.1: incorrect -O flag description

<[email protected]>
Newsgroups gmane.os.netbsd.devel.userlevel
Message-ID <[email protected]>
The -O (not a POSIX one) flag seems incorrectly described in the manual
page.

What it does (from a cursory look at the sources, matching the result
of testing), is simply not displaying a supplementary information
about the directory traversed when going recursive.

It does not output only leaf (filenames not directory). This is only
the "headline": "\ndir:\n" that is not displayed.

Just try:

$ ls -OF

for example (and combine with -R).

What was the intention of the flag? To have an output with just the
names (including directories) without the formatting about the newline
and the dir?
-- 
        Thierry Laronde <tlaronde +AT+ kergis +dot+ com>
                     http://www.kergis.com/
                    http://kertex.kergis.com/
Key fingerprint = 0FF7 E906 FBAF FE95 FD89  250D 52B1 AE95 6006 F40C
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.