aboutsummaryrefslogtreecommitdiff
path: root/bin/src/config.rs
diff options
context:
space:
mode:
authorAkshay <[email protected]>2021-10-27 12:40:42 +0100
committerAkshay <[email protected]>2021-10-27 12:43:23 +0100
commitf909b20c540ea99dddfd04b8439ee35b8dd703b8 (patch)
treecc9a60108f975419bf2621262739071a5f0a1be6 /bin/src/config.rs
parented1ee66b06add4c22e4922ffa762f097355c7431 (diff)
allow stdin input to statix-single, vim pluginv0.2.2
Diffstat (limited to 'bin/src/config.rs')
-rw-r--r--bin/src/config.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/src/config.rs b/bin/src/config.rs
index c856a59..79bed35 100644
--- a/bin/src/config.rs
+++ b/bin/src/config.rs
@@ -77,8 +77,8 @@ impl Fix {
77#[derive(Clap, Debug)] 77#[derive(Clap, Debug)]
78pub struct Single { 78pub struct Single {
79 /// File to run single-fix on 79 /// File to run single-fix on
80 #[clap(default_value = ".", parse(from_os_str))] 80 #[clap(parse(from_os_str))]
81 pub target: PathBuf, 81 pub target: Option<PathBuf>,
82 82
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))]