This commit is contained in:
David Smith 2023-05-19 09:51:17 -04:00
parent 7435a65d0f
commit ed9953f564
No known key found for this signature in database
GPG key ID: 979D8D09D9570EED

View file

@ -566,7 +566,7 @@ pub fn build(
expected_file_path_string
));
// Add some additional hints if run as `roc [FILENAME]`.
if let None = matches.subcommand() {
if matches.subcommand().is_none() {
error_lines.push("Did you misspell a subcommand?".to_string());
}
error_lines.push("You can run `roc help` to see the list of available subcommands and for more information on how to provide a .roc file.".to_string());