fix: report what happened instead of losing it
This commit is contained in:
@@ -20,6 +20,10 @@ pub enum Link {
|
||||
|
||||
/// Move paths in the store back into the repository
|
||||
Restore {
|
||||
// said here rather than checked at runtime, so a mistake in the
|
||||
// arguments is reported as one, with the usage and the exit code clap
|
||||
// gives every other argument error
|
||||
#[arg(required_unless_present = "all", conflicts_with = "all")]
|
||||
paths: Vec<PathBuf>,
|
||||
|
||||
/// Restore every path this repository has in the store
|
||||
|
||||
Reference in New Issue
Block a user