This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug build/10619] New: gdb - Manual and info pages should present GNU --long options


In gdb info file:

 2.1.1 Choosing Files
--------------------
 Many options have both long and short forms; both are shown in the
following list.  GDB also recognizes the long forms if you truncate
them, so long as enough of the option is present to be unambiguous.
(If you prefer, you can flag option arguments with `--' rather than
`-', though we illustrate the more usual convention.)


In manual pages:

       -help

       -h     List all options, with brief explanations.

       -symbols=file

       -s file
               Read symbol table from file file.
...

SUGGESTION

Please prefer listing the --long option names with two dashes (--) and not with 
single dash, although that may be still valid. The sinlge dash -option syntax 
is confusing, when compared to options that can be stacked e.g. in GNU ls(1) -
laF...", not so in GNU gdb.

The GNU tools traditionally use --option syntax in their manuals.

-- 
           Summary: gdb - Manual and info pages should present GNU --long
                    options
           Product: gdb
           Version: 6.8
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: P2
         Component: build
        AssignedTo: unassigned at sourceware dot org
        ReportedBy: jari dot aalto at cante dot net
                CC: gdb-prs at sourceware dot org


http://sourceware.org/bugzilla/show_bug.cgi?id=10619

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]