diff options
author | Akshay <[email protected]> | 2021-10-26 14:46:52 +0100 |
---|---|---|
committer | Akshay <[email protected]> | 2021-10-26 14:46:52 +0100 |
commit | 393c28566206b4a077be3cfb0e4e931544f0709e (patch) | |
tree | e7b8af9edef85920537ae31b60def57635b2a287 /bin/src/config.rs | |
parent | cd527e849f0f05735cb1847a158b7104a00ce65c (diff) |
fix single fix command
Diffstat (limited to 'bin/src/config.rs')
-rw-r--r-- | bin/src/config.rs | 4 |
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 | ||
88 | mod dirs { | 92 | mod dirs { |