aboutsummaryrefslogtreecommitdiff
path: root/helix-term/src/main.rs
diff options
context:
space:
mode:
authorMichael Davis2022-03-08 06:13:15 +0000
committerBlaž Hrastnik2022-03-10 08:31:57 +0000
commit7044d7d804ad798207594e1b3bb5bd80a96d3da0 (patch)
tree2456d38b7e586641005da7f867e85d7df62cca15 /helix-term/src/main.rs
parent37520f46ae891f77f81f4049cbb7dc2dbe2d5fc3 (diff)
rename '--fetch/build-grammars' flags into '--grammar fetch/build'
The old flags were a bit long. --grammar is also aliased to -g to make it even easier.
Diffstat (limited to 'helix-term/src/main.rs')
-rw-r--r--helix-term/src/main.rs19
1 files changed, 9 insertions, 10 deletions
diff --git a/helix-term/src/main.rs b/helix-term/src/main.rs
index a69e121b..6511e004 100644
--- a/helix-term/src/main.rs
+++ b/helix-term/src/main.rs
@@ -59,16 +59,15 @@ ARGS:
<files>... Sets the input file to use, position can also be specified via file[:row[:col]]
FLAGS:
- -h, --help Prints help information
- --edit-config Opens the helix config file
- --tutor Loads the tutorial
- --health [LANG] Checks for potential errors in editor setup
- If given, checks for config errors in language LANG
- --fetch-grammars Fetches tree-sitter grammars listed in languages.toml
- --build-grammars Builds tree-sitter grammars fetched with --fetch-grammars
- -v Increases logging verbosity each use for up to 3 times
- (default file: {})
- -V, --version Prints version information
+ -h, --help Prints help information
+ --edit-config Opens the helix config file
+ --tutor Loads the tutorial
+ --health [LANG] Checks for potential errors in editor setup
+ If given, checks for config errors in language LANG
+ -g, --grammars {{fetch|build}} Fetches or builds tree-sitter grammars listed in languages.toml
+ -v Increases logging verbosity each use for up to 3 times
+ (default file: {})
+ -V, --version Prints version information
",
env!("CARGO_PKG_NAME"),
env!("VERSION_AND_GIT_HASH"),