diff options
Diffstat (limited to 'src/commands/cmd_subvolume.rs')
-rw-r--r-- | src/commands/cmd_subvolume.rs | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/commands/cmd_subvolume.rs b/src/commands/cmd_subvolume.rs index a3176f40..c77eaacd 100644 --- a/src/commands/cmd_subvolume.rs +++ b/src/commands/cmd_subvolume.rs @@ -14,18 +14,22 @@ pub struct Cli { /// Subvolumes-related commands #[derive(Subcommand, Debug)] enum Subcommands { + #[command(visible_aliases = ["new"])] Create { /// Paths targets: Vec<PathBuf> }, + + #[command(visible_aliases = ["del"])] Delete { /// Path target: PathBuf }, - #[command(allow_missing_positional = true)] + + #[command(allow_missing_positional = true, visible_aliases = ["snap"])] Snapshot { /// Make snapshot read only - #[arg(long, short = 'r')] + #[arg(long, short)] read_only: bool, source: Option<PathBuf>, dest: PathBuf |