aboutsummaryrefslogtreecommitdiff
path: root/examples/true_or_false.rs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/true_or_false.rs')
-rw-r--r--examples/true_or_false.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/true_or_false.rs b/examples/true_or_false.rs
index 31a543e..814f3d8 100644
--- a/examples/true_or_false.rs
+++ b/examples/true_or_false.rs
@@ -23,7 +23,7 @@ struct Opt {
bar: bool,
// `bool` can be positional only with explicit `parse(...)` annotation
- #[structopt(long, parse(try_from_str))]
+ #[structopt(parse(try_from_str))]
boom: bool,
}