summaryrefslogtreecommitdiff
path: root/src/commands/cmd_subvolume.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/cmd_subvolume.rs')
-rw-r--r--src/commands/cmd_subvolume.rs3
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
}
}