From 531fbf1d5b4107cc54a426559e552d818e1d5735 Mon Sep 17 00:00:00 2001 From: Sebastian Thiel Date: Thu, 2 Jul 2020 11:05:32 +0800 Subject: [PATCH] make aliases visible in generated docs --- src/options.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/options.rs b/src/options.rs index 5b9d604c..8439a0b4 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, }, /// 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")]