Skip to content

Commit 08d248a

Browse files
committed
Add the cli script mode option to readme and help command
1 parent b5a230a commit 08d248a

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,7 @@ Usage: ClangQL [OPTIONS]
161161
162162
Options:
163163
-f, --files <paths> Path for local files to run query on
164+
-s, --script <file> Script file contains one or more query
164165
-q, --query <GQL Query> ClangQL query to run on selected files
165166
-p, --pagination Enable print result with pagination
166167
-ps, --pagesize Set pagination page size [default: 10]

src/arguments.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,7 @@ pub fn print_help_list() {
175175
println!();
176176
println!("Options:");
177177
println!("-f, --files <paths> Path for local files to run query on");
178+
println!("-s, --script <file> Script file contains one or more query");
178179
println!("-q, --query <GQL Query> ClangQL query to run on selected repositories");
179180
println!("-p, --pagination Enable print result with pagination");
180181
println!("-ps, --pagesize Set pagination page size [default: 10]");

0 commit comments

Comments
 (0)