File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -21,6 +21,18 @@ CommandObjectLanguage::CommandObjectLanguage(CommandInterpreter &interpreter)
21
21
" language <language-name> <subcommand> [<subcommand-options>]" ) {
22
22
// Let the LanguageRuntime populates this command with subcommands
23
23
LanguageRuntime::InitializeCommands (this );
24
+ SetHelpLong (
25
+ R"(
26
+ Language specific subcommands may be used directly (without the `language
27
+ <language-name>` prefix), when stopped on a frame written in that
28
+ language. For example, from a C++ frame, users may run `demangle`
29
+ directly, instead of `language cplusplus demangle`.
30
+
31
+ Language specific subcommands are only available when the command name
32
+ cannot be misinterpreted. Take the `demangle` command for example, if a
33
+ Python command named `demangle-tree` were loaded, then the invocation
34
+ `demangle` would run `demangle-tree`, not `language cplusplus demangle`.
35
+ )" );
24
36
}
25
37
26
38
CommandObjectLanguage::~CommandObjectLanguage () = default ;
You can’t perform that action at this time.
0 commit comments