aboutsummaryrefslogtreecommitdiff
path: root/bin/src/config.rs
diff options
context:
space:
mode:
Diffstat (limited to 'bin/src/config.rs')
-rw-r--r--bin/src/config.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/bin/src/config.rs b/bin/src/config.rs
index fc4057a..8ddfb4a 100644
--- a/bin/src/config.rs
+++ b/bin/src/config.rs
@@ -83,6 +83,10 @@ pub struct Single {
83 /// Position to attempt a fix at 83 /// Position to attempt a fix at
84 #[clap(short, long, parse(try_from_str = parse_line_col))] 84 #[clap(short, long, parse(try_from_str = parse_line_col))]
85 pub position: (usize, usize), 85 pub position: (usize, usize),
86
87 /// Do not fix files in place, display a diff instead
88 #[clap(short, long = "dry-run")]
89 pub diff_only: bool,
86} 90}
87 91
88mod dirs { 92mod dirs {