You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/main.rs
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -67,13 +67,13 @@ enum Command {
67
67
Fmt{
68
68
/// R files to format
69
69
files:Option<Vec<PathBuf>>,
70
-
/// Avoid writing any formatted files back; instead, exit with a non-zero status code if any files would have been modified, and zero otherwise
70
+
/// Exit with error if files would be modified without making changes
71
71
#[clap(long, default_value_t = false)]
72
72
check:bool,
73
-
/// Avoid writing any formatted files back; instead, exit with a non-zero status code and the difference between the current file and how the formatted file would look like
73
+
/// Show diff instead of modifying files; exit with error if changes needed
74
74
#[clap(long, default_value_t = false)]
75
75
diff:bool,
76
-
/// Stop if a comment can't be properly placed (exits with error if a comment would be moved to different location)
76
+
/// Stop if a comment can't be properly placed (exits with error if any comment would be moved to different location)
0 commit comments