mirror of
https://github.com/sharkdp/bat.git
synced 2024-12-22 06:20:44 +01:00
Clean up help messages
This commit is contained in:
parent
2508323264
commit
6882fc1512
@ -184,12 +184,12 @@ impl App {
|
|||||||
Arg::with_name("clear")
|
Arg::with_name("clear")
|
||||||
.long("clear")
|
.long("clear")
|
||||||
.short("c")
|
.short("c")
|
||||||
.help("Reset the cache"),
|
.help("Remove the cached syntax definitions and themes"),
|
||||||
).arg(
|
).arg(
|
||||||
Arg::with_name("config-dir")
|
Arg::with_name("config-dir")
|
||||||
.long("config-dir")
|
.long("config-dir")
|
||||||
.short("d")
|
.short("d")
|
||||||
.help("Show the configuration directory"),
|
.help("Show bat's configuration directory"),
|
||||||
).group(
|
).group(
|
||||||
ArgGroup::with_name("cache-actions")
|
ArgGroup::with_name("cache-actions")
|
||||||
.args(&["init", "clear", "config-dir"])
|
.args(&["init", "clear", "config-dir"])
|
||||||
@ -200,7 +200,7 @@ impl App {
|
|||||||
.requires("init")
|
.requires("init")
|
||||||
.takes_value(true)
|
.takes_value(true)
|
||||||
.value_name("dir")
|
.value_name("dir")
|
||||||
.help("Use a different source for loading syntaxes and themes from"),
|
.help("Use a different directory to load syntaxes and themes from"),
|
||||||
).arg(
|
).arg(
|
||||||
Arg::with_name("target")
|
Arg::with_name("target")
|
||||||
.long("target")
|
.long("target")
|
||||||
@ -208,7 +208,7 @@ impl App {
|
|||||||
.takes_value(true)
|
.takes_value(true)
|
||||||
.value_name("dir")
|
.value_name("dir")
|
||||||
.help(
|
.help(
|
||||||
"Use a different source to store the cached syntax and theme set",
|
"Use a different directory to store the cached syntax and theme set",
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
).help_message("Print this help message.")
|
).help_message("Print this help message.")
|
||||||
|
Loading…
Reference in New Issue
Block a user