Skip to content

Commit

Permalink
Disable the warning about -S common for now.
Browse files Browse the repository at this point in the history
  • Loading branch information
sunfishcode committed Mar 18, 2024
1 parent 3820a15 commit 08ab034
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/commands/run.rs
Original file line number Diff line number Diff line change
Expand Up @@ -616,7 +616,8 @@ impl RunCommand {
"The -Scommon option should not be use with -Scli as it is a deprecated alias"
);
} else {
eprintln!("warning: The -Scommon flag has been renamed to -Scli");
// In the future, we may add a warning here to tell users to use
// `-S cli` instead of `-S common`.
cli = Some(common);
}
}
Expand Down
3 changes: 2 additions & 1 deletion src/commands/serve.rs
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,8 @@ impl ServeCommand {
"The -Scommon option should not be use with -Scli as it is a deprecated alias"
);
} else {
eprintln!("warning: The -Scommon flag has been renamed to -Scli");
// In the future, we may add a warning here to tell users to use
// `-S cli` instead of `-S common`.
cli = Some(common);
}
}
Expand Down

0 comments on commit 08ab034

Please sign in to comment.