Skip to content

Commit 52ac783

Browse files
authoredDec 1, 2024
Merge pull request #1 from galenseilis/patch-1
Changeover to referring to Python files
2 parents 87ac41b + 6c50a41 commit 52ac783

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎src/arguments.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ pub fn parse_arguments(args: &[String]) -> Command {
8686
}
8787

8888
if arguments.files.is_empty() {
89-
return Command::Error("Must provide one or more C/C++ files".to_string());
89+
return Command::Error("Must provide one or more Python files".to_string());
9090
}
9191
}
9292
"--query" | "-q" => {
@@ -162,7 +162,7 @@ pub fn parse_arguments(args: &[String]) -> Command {
162162
}
163163

164164
if arguments.files.is_empty() {
165-
return Command::Error("Must provide one or more LLVM IR or BC files".to_string());
165+
return Command::Error("Must provide one or more Python files".to_string());
166166
}
167167

168168
if let Some(script_file) = optional_script_file {

0 commit comments

Comments
 (0)