Skip to content

Commit 8f2970b

Browse files
committed
Files must be present unless --all or --stdin is set
1 parent 1268640 commit 8f2970b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rewatch/src/cli.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ pub enum Command {
200200
stdin: Option<FileExtension>,
201201

202202
/// Files to format.
203-
#[arg(group = "format_input_mode")]
203+
#[arg(group = "format_input_mode", required_unless_present_any = ["format_input_mode"])]
204204
files: Vec<String>,
205205
},
206206
/// Alias to `legacy dump`.

0 commit comments

Comments
 (0)