]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Fixup vgdb --help message
authorMark Wielaard <mark@klomp.org>
Sat, 15 Apr 2023 23:55:48 +0000 (01:55 +0200)
committerMark Wielaard <mark@klomp.org>
Sat, 15 Apr 2023 23:55:55 +0000 (01:55 +0200)
The --valgrind and the --vargs were missingin the OPTIONS summary.
A \n was missing after the --vargs description.

coregrind/vgdb.c

index 1cc37a35668cb3c449676233bfb790c7b65a5f9c..c4a7042984800b369b8aec2a6b69270ba4a1e60a 100644 (file)
@@ -1899,7 +1899,7 @@ void usage(void)
 "             [--wait=<number>] [--max-invoke-ms=<number>]\n"
 "             [--port=<portnr>\n"
 "             [--cmd-time-out=<number>] [-l] [-T] [-D] [-d]\n"
-"             [--multi]\n"
+"             [--multi] [--valgrind=<valgrind-exe>] [--vargs ...]\n"
 "             \n"
 "  --pid arg must be given if multiple Valgrind gdbservers are found.\n"
 "  --vgdb-prefix arg must be given to both Valgrind and vgdb utility\n"
@@ -1915,7 +1915,7 @@ void usage(void)
 "     gdbserver has not processed a command after number seconds\n"
 "  --multi start in extended-remote mode, wait for gdb to tell us what to run\n"
 "   --valgrind, pass the path to valgrind to use. If not specified, the system valgrind will be launched.\n"
-"   --vargs everything that follows is an argument for valgrind."
+"   --vargs everything that follows is an argument for valgrind.\n"
 "  -l  arg tells to show the list of running Valgrind gdbserver and then exit.\n"
 "  -T  arg tells to add timestamps to vgdb information messages.\n"
 "  -D  arg tells to show shared mem status and then exit.\n"