summaryrefslogtreecommitdiffstats
path: root/src/opt.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/opt.rs')
-rw-r--r--src/opt.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/opt.rs b/src/opt.rs
index 9704d4f..77ba9fd 100644
--- a/src/opt.rs
+++ b/src/opt.rs
@@ -6,6 +6,7 @@ use crate::config::Config;
#[derive(Debug, StructOpt)]
#[structopt(name = "choose", about = "`choose` sections from each line of files")]
+#[structopt(setting = structopt::clap::AppSettings::AllowLeadingHyphen)]
pub struct Opt {
/// Specify field separator other than whitespace
#[structopt(short, long)]