summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Thiel <sebastian.thiel@icloud.com>2020-07-02 11:05:32 +0800
committerSebastian Thiel <sebastian.thiel@icloud.com>2020-07-02 11:05:32 +0800
commit531fbf1d5b4107cc54a426559e552d818e1d5735 (patch)
tree8edfcc44c993ec2c9283cae949b39dfbd7ab8b41
parente32778b00dd38bc2053d325453ec19f498b68a29 (diff)
make aliases visible in generated docs
-rw-r--r--src/options.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/options.rs b/src/options.rs
index 5b9d604..8439a0b 100644
--- a/src/options.rs
+++ b/src/options.rs
@@ -72,14 +72,14 @@ pub struct Args {
#[derive(Debug, StructOpt)]
pub enum Command {
/// Launch the terminal user interface
- #[structopt(name = "interactive", alias = "i")]
+ #[structopt(name = "interactive", visible_alias = "i")]
Interactive {
/// One or more input files or directories. If unset, we will use all entries in the current working directory.
#[structopt(parse(from_os_str))]
input: Vec<PathBuf>,
},
/// Aggregrate the consumed space of one or more directories or files
- #[structopt(name = "aggregate", alias = "a")]
+ #[structopt(name = "aggregate", visible_alias = "a")]
Aggregate {
/// If set, print additional statistics about the file traversal to stderr
#[structopt(long = "stats")]