]> 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:25:06 +0000 (08:25 -0700)
commit52b81397b157ac237f7fd6b249e9540e8563bf7f
tree79700b74af42dce19cc15d5d9d00849d8805a454
parent5746383e8c5835f1d46631fa44ad38b3eb66c55c
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>
(cherry picked from commit 6511d20c9d47093acb3b099ff19854e01bbe9af4)
gdb/cli/cli-option.c
gdb/testsuite/gdb.base/options.exp