Skip to content

Commit 8ad55ef

Browse files
feat: include arg_required_else_help = true on import and export
1 parent 9f450d2 commit 8ad55ef

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/tasks/export/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ use std::path::PathBuf;
2323
use std::sync::Arc;
2424

2525
#[derive(clap::Args)]
26+
#[clap(arg_required_else_help = true)]
2627
pub struct ExportArguments {
2728
/// Deployment ID to export from
2829
#[arg(short, long)]

src/tasks/import/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ use std::path::PathBuf;
2525
use std::sync::Arc;
2626

2727
#[derive(clap::Parser)]
28+
#[clap(arg_required_else_help = true)]
2829
pub(crate) struct ImportArguments {
2930
#[arg(short, long)]
3031
/// The ID or name of the disk pool where the import should be stored

0 commit comments

Comments
 (0)