Skip to content

Commit 679f75e

Browse files
authored
[easy] Fix spacing in help message of 'process save-core' command (#89445)
Very minor change to help message on `process save-core`. Adds space between two sentences explaining the `-p` option: "Specify a plugin name to create the core file.This allows core files to be saved in different formats." --> "Specify a plugin name to create the core file. This allows core files to be saved in different formats." Before: ``` (lldb) help process save-core Save the current process as a core file using an appropriate file type. Syntax: process save-core [-s corefile-style -p plugin-name] FILE Command Options Usage: process save-core [-p[<plugin>]] [-s <corefile-style>] <path> -p[<plugin>] ( --plugin-name=[<plugin>] ) Specify a plugin name to create the core file.This allows core files to be saved in different formats. -s <corefile-style> ( --style <corefile-style> ) Request a specific style of corefile to be saved. Values: full | modified-memory | stack This command takes options and free-form arguments. If your arguments resemble option specifiers (i.e., they start with a - or --), you must use ' -- ' between the end of the command options and the beginning of the arguments. ``` After: ``` michristensen@devbig356 build/Debug » $HOME/llvm-sand/build/Debug/bin/lldb -x (lldb) help process save-core Save the current process as a core file using an appropriate file type. Syntax: process save-core [-s corefile-style -p plugin-name] FILE Command Options Usage: process save-core [-p[<plugin>]] [-s <corefile-style>] <path> -p[<plugin>] ( --plugin-name=[<plugin>] ) Specify a plugin name to create the core file. This allows core files to be saved in different formats. -s <corefile-style> ( --style <corefile-style> ) Request a specific style of corefile to be saved. Values: full | modified-memory | stack This command takes options and free-form arguments. If your arguments resemble option specifiers (i.e., they start with a - or --), you must use ' -- ' between the end of the command options and the beginning of the arguments. ```
1 parent cd3255a commit 679f75e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lldb/source/Commands/Options.td

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -784,7 +784,7 @@ let Command = "process save_core" in {
784784
EnumArg<"SaveCoreStyle">, Desc<"Request a specific style "
785785
"of corefile to be saved.">;
786786
def process_save_core_plugin_name : Option<"plugin-name", "p">,
787-
OptionalArg<"Plugin">, Desc<"Specify a plugin name to create the core file."
787+
OptionalArg<"Plugin">, Desc<"Specify a plugin name to create the core file. "
788788
"This allows core files to be saved in different formats.">;
789789
}
790790

0 commit comments

Comments
 (0)