From 6c50a41abc567774f2ccfe97298d77d724cbddce Mon Sep 17 00:00:00 2001 From: Galen Seilis Date: Sun, 1 Dec 2024 08:39:55 -0800 Subject: [PATCH] Changeover to referring to Python files I have not familiarized myself with the code, but on the face of it some the messages appear to have come from the ClangQL tool. I updated some of the language to refer to Python files. in CLI command messages. --- src/arguments.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/arguments.rs b/src/arguments.rs index 8800968..66ffade 100644 --- a/src/arguments.rs +++ b/src/arguments.rs @@ -86,7 +86,7 @@ pub fn parse_arguments(args: &[String]) -> Command { } if arguments.files.is_empty() { - return Command::Error("Must provide one or more C/C++ files".to_string()); + return Command::Error("Must provide one or more Python files".to_string()); } } "--query" | "-q" => { @@ -162,7 +162,7 @@ pub fn parse_arguments(args: &[String]) -> Command { } if arguments.files.is_empty() { - return Command::Error("Must provide one or more LLVM IR or BC files".to_string()); + return Command::Error("Must provide one or more Python files".to_string()); } if let Some(script_file) = optional_script_file {