Skip to content

Commit df4f383

Browse files
committed
Do not mark --clear-cache as exclusive
1 parent b9b9310 commit df4f383

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

src/arguments.rs

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,8 @@ impl Args {
6868
.group(ArgGroup::new("expr_or_loop")
6969
.args(["expr", "loop"])
7070
)
71-
/*
72-
Options that impact the script being executed.
73-
*/
71+
72+
// Options that impact the script being executed.
7473
.arg(Arg::new("cargo-output")
7574
.help("Show output from cargo when building")
7675
.short('c')
@@ -111,13 +110,10 @@ impl Args {
111110
.requires("expr_or_loop")
112111
)
113112

114-
/*
115-
Options that change how rust-script itself behaves, and don't alter what the script will do.
116-
*/
113+
// Options that change how rust-script itself behaves, and don't alter what the script will do.
117114
.arg(Arg::new("clear-cache")
118115
.help("Clears out the script cache")
119116
.long("clear-cache")
120-
.exclusive(true)
121117
.action(ArgAction::SetTrue),
122118
)
123119
.arg(Arg::new("force")

0 commit comments

Comments
 (0)