diff options
Diffstat (limited to 'src/commands/cmd_subvolume.rs')
-rw-r--r-- | src/commands/cmd_subvolume.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/commands/cmd_subvolume.rs b/src/commands/cmd_subvolume.rs index 57c679a1..85183fa4 100644 --- a/src/commands/cmd_subvolume.rs +++ b/src/commands/cmd_subvolume.rs @@ -22,11 +22,12 @@ enum Subcommands { /// Path target: PathBuf }, + #[command(allow_missing_positional = true)] Snapshot { /// Make snapshot read only #[arg(long, short = 'r')] read_only: bool, - source: PathBuf, + source: Option<PathBuf>, dest: PathBuf } } |