style: unify verbs in help message to base form (#14501)

This commit is contained in:
Lingxuan Ye
2025-10-05 03:22:13 +08:00
committed by GitHub
parent e50e8a3638
commit 81b4a2c9d8

View File

@@ -56,24 +56,24 @@ USAGE:
hx [FLAGS] [files]...
ARGS:
<files>... Sets the input file to use, position can also be specified via file[:row[:col]]
<files>... Set the input file to use, position can also be specified via file[:row[:col]]
FLAGS:
-h, --help Prints help information
--tutor Loads the tutorial
--health [CATEGORY] Checks for potential errors in editor setup
-h, --help Print help information
--tutor Load the tutorial
--health [CATEGORY] Check for potential errors in editor setup
CATEGORY can be a language or one of 'clipboard', 'languages',
'all-languages' or 'all'. 'languages' is filtered according to
user config, 'all-languages' and 'all' are not. If not specified,
the default is the same as 'all', but with languages filtering.
-g, --grammar {{fetch|build}} Fetches or builds tree-sitter grammars listed in languages.toml
-c, --config <file> Specifies a file to use for configuration
-v Increases logging verbosity each use for up to 3 times
--log <file> Specifies a file to use for logging
-g, --grammar {{fetch|build}} Fetch or builds tree-sitter grammars listed in languages.toml
-c, --config <file> Specify a file to use for configuration
-v Increase logging verbosity each use for up to 3 times
--log <file> Specify a file to use for logging
(default file: {})
-V, --version Prints version information
--vsplit Splits all given files vertically into different windows
--hsplit Splits all given files horizontally into different windows
-V, --version Print version information
--vsplit Split all given files vertically into different windows
--hsplit Split all given files horizontally into different windows
-w, --working-dir <path> Specify an initial working directory
+N Open the first given file at line number N
",