diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 8150685e5c0..60766ca7775 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2018-06-14 Philippe Waroquiers + + * cli/cli-script.c (_initialize_cli_script): Fix online documentation + of 'define' command. + 2018-06-14 Tom de Vries PR cli/22573 diff --git a/gdb/cli/cli-script.c b/gdb/cli/cli-script.c index 72de8ec1c78..87ebf9fc00c 100644 --- a/gdb/cli/cli-script.c +++ b/gdb/cli/cli-script.c @@ -1602,7 +1602,9 @@ Define a new command name. Command name is argument.\n\ Definition appears on following lines, one command per line.\n\ End with a line of just \"end\".\n\ Use the \"document\" command to give documentation for the new command.\n\ -Commands defined in this way may have up to ten arguments.")); +Commands defined in this way may accept an unlimited number of arguments\n\ +accessed via $arg0 .. $argN. $argc tells how many arguments have\n\ +been passed.")); add_com ("while", class_support, while_command, _("\ Execute nested commands WHILE the conditional expression is non zero.\n\