summaryrefslogtreecommitdiffstats
path: root/src/opt.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/opt.rs')
-rw-r--r--src/opt.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/opt.rs b/src/opt.rs
index 77fc710..4170fb7 100644
--- a/src/opt.rs
+++ b/src/opt.rs
@@ -12,6 +12,10 @@ pub struct Opt {
#[structopt(short, long)]
pub field_separator: Option<String>,
+ /// Use non-greedy field separators
+ #[structopt(short, long)]
+ pub non_greedy: bool,
+
/// Use exclusive ranges, similar to array indexing in many programming languages
#[structopt(short = "x", long)]
pub exclusive: bool,