diff options
author | Tom Tromey <tom@tromey.com> | 2018-12-24 14:41:40 -0700 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2019-01-04 11:08:02 -0700 |
commit | 48c5e7e239fba27bea134f6cd5f414300b7cd3ac (patch) | |
tree | e058c1be8acc8f11184b84ad9c1483bbc067f57b /gdb/demangle.c | |
parent | 1b2ed39c3a7ee2870f3d16a510d31e8d5916afbc (diff) | |
download | gdb-48c5e7e239fba27bea134f6cd5f414300b7cd3ac.zip gdb-48c5e7e239fba27bea134f6cd5f414300b7cd3ac.tar.gz gdb-48c5e7e239fba27bea134f6cd5f414300b7cd3ac.tar.bz2 |
Use upper case for more metasyntactic variables in gdb
I noticed a few places where a Usage line in gdb did not use upper
case for metasyntactic variables. This patch fixes all the instances
I found.
Tested on x86-64 Fedora 28.
gdb/ChangeLog
2019-01-04 Tom Tromey <tom@tromey.com>
* compile/compile.c (_initialize_compile): Use upper case for
metasyntactic variables.
* symmisc.c (_initialize_symmisc): Use upper case for
metasyntactic variables.
* psymtab.c (_initialize_psymtab): Use upper case for
metasyntactic variables.
* demangle.c (demangle_command): Use upper case for metasyntactic
variables.
(_initialize_demangler): Likewise.
* ax-gdb.c (_initialize_ax_gdb): Use upper case for metasyntactic
variables.
Diffstat (limited to 'gdb/demangle.c')
-rw-r--r-- | gdb/demangle.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/demangle.c b/gdb/demangle.c index a637214..29f4696 100644 --- a/gdb/demangle.c +++ b/gdb/demangle.c @@ -188,7 +188,7 @@ demangle_command (const char *args, int from_tty) name = arg_start; if (*name == '\0') - error (_("Usage: demangle [-l language] [--] name")); + error (_("Usage: demangle [-l LANGUAGE] [--] NAME")); if (!lang_name.empty ()) { @@ -262,7 +262,7 @@ Use `set demangle-style' without arguments for a list of demangling styles."), add_cmd ("demangle", class_support, demangle_command, _("\ Demangle a mangled name.\n\ -Usage: demangle [-l language] [--] name\n\ +Usage: demangle [-l LANGUAGE] [--] NAME\n\ If LANGUAGE is not specified, NAME is demangled in the current language."), &cmdlist); } |