]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Fix help formatting for string and filename options
authorTom Tromey <tromey@adacore.com>
Mon, 13 Jan 2025 14:26:10 +0000 (07:26 -0700)
committerTom Tromey <tromey@adacore.com>
Wed, 15 Jan 2025 15:20:03 +0000 (08:20 -0700)
commit6511d20c9d47093acb3b099ff19854e01bbe9af4
treeabd516779a8d7a014f154a36ea39ed4eb78d289b
parentb40a9566573266501a7407708f736d73e1154c21
Fix help formatting for string and filename options

I happened to notice that "help add-inferior" said:

  -execFILENAME
    FILENAME is the file name of the executable to use as the
    main program.

This is missing a space after "-exec".  This patch fixes the bug.

If ok'd on time I plan to check this in to the gdb-16 branch as well.

Approved-by: Kevin Buettner <kevinb@redhat.com>
gdb/cli/cli-option.c
gdb/testsuite/gdb.base/options.exp