Skip to content

Commit

Permalink
Hide the --set-icon-using argument from the docs.
Browse files Browse the repository at this point in the history
Thanks to clap-rs/clap#4090 (comment) for the info on how to do that.

Unfortunately, it still shows up in shell completions:

- clap-rs/clap#1335
- clap-rs/clap#2541 (comment)
  • Loading branch information
lgarron committed Apr 4, 2023
1 parent b664d1e commit 62c12c2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 0 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -151,9 +151,6 @@ Options:
Don't trim margins from the mask.
By default, transparent margins are trimmed from all 4 sides.
--set-icon-using <SET_ICON_USING>
Legacy argument. Now ignored.
-v, --verbose
Detailed output
Expand Down
2 changes: 1 addition & 1 deletion src/options.rs
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ struct FolderifyArgs {
no_trim: bool,

/// Legacy argument. Now ignored.
#[clap(long, verbatim_doc_comment)]
#[arg(long, hide(true))]
set_icon_using: Option<String>,

/// Detailed output.
Expand Down

0 comments on commit 62c12c2

Please sign in to comment.