diff options
author | Akshay <[email protected]> | 2021-10-26 16:52:41 +0100 |
---|---|---|
committer | Akshay <[email protected]> | 2021-10-27 12:39:38 +0100 |
commit | bfc720bf4d8adbb3b1eaff4f3556bc6d1e00849a (patch) | |
tree | d70767a31f3fb1978c2b2e932f7a83ea1eb87386 /bin/src/config.rs | |
parent | 20d195988de1014517ff1a1c8c1041cff5f88e05 (diff) |
allow stdin input to statix-singlevim-plugin
Diffstat (limited to 'bin/src/config.rs')
-rw-r--r-- | bin/src/config.rs | 4 |
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)] |
78 | pub struct Single { | 78 | pub 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))] |