mirror of
https://github.com/tealdeer-rs/tealdeer.git
synced 2026-08-23 16:44:18 +02:00
Clap: Hide deprecated -o/--os argument from help
This commit is contained in:
parent
25d771778a
commit
69f4808214
2 changed files with 1 additions and 2 deletions
|
|
@ -15,7 +15,6 @@ OPTIONS:
|
|||
-f, --render <FILE> Render a specific markdown file
|
||||
-p, --platform <PLATFORM> Override the operating system [possible values: linux, macos,
|
||||
windows, sunos, osx]
|
||||
-o, --os <OS> Deprecated alias of `platform`
|
||||
-L, --language <LANGUAGE> Override the language
|
||||
-u, --update Update the local cache
|
||||
-c, --clear-cache Clear the local cache
|
||||
|
|
|
|||
|
|
@ -92,7 +92,7 @@ struct Args {
|
|||
short = 'o',
|
||||
long = "os",
|
||||
possible_values = ["linux", "macos", "windows", "sunos", "osx"],
|
||||
hide_possible_values = true,
|
||||
hide = true
|
||||
)]
|
||||
os: Option<PlatformType>,
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue