summaryrefslogtreecommitdiffstats
path: root/src/cli.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/cli.rs')
-rw-r--r--src/cli.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/cli.rs b/src/cli.rs
index 0bab3e0..20192c8 100644
--- a/src/cli.rs
+++ b/src/cli.rs
@@ -21,9 +21,9 @@ pub struct Cli {
/// Generate only code
#[clap(short = 'c', long)]
pub code: bool,
- /// Attach files to the message to be sent
- #[clap(short = 'f', long, num_args = 1.., value_name = "FILE")]
- pub file: Option<Vec<String>>,
+ /// Attach files to the message
+ #[clap(short = 'f', long, value_name = "FILE")]
+ pub file: Vec<String>,
/// Disable syntax highlighting
#[clap(short = 'H', long)]
pub no_highlight: bool,