Skip to content

Commit 093bba2

Browse files
committed
[BNTL] Document compiler_options CLI argument
1 parent 95d235d commit 093bba2

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

plugins/bntl_utils/cli/src/create.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ pub struct CreateArgs {
1919
pub include_directories: Vec<PathBuf>,
2020
#[clap(long)]
2121
pub dry_run: bool,
22-
22+
/// A list of additional compiler options to pass to the compiler when parsing C header files.
2323
#[arg(last = true, allow_hyphen_values = true, num_args = 0..)]
24-
compiler_flags: Vec<String>,
24+
compiler_options: Vec<String>,
2525
}
2626

2727
impl CreateArgs {
@@ -45,7 +45,7 @@ impl CreateArgs {
4545

4646
let processor = TypeLibProcessor::new(&self.name, &self.platform)
4747
.with_include_directories(self.include_directories.clone())
48-
.with_options(self.compiler_flags.clone());
48+
.with_compiler_options(self.compiler_options.clone());
4949
// TODO: Need progress indicator here, when downloading files.
5050
let resolved_input = self.input.resolve().expect("Failed to resolve input");
5151

0 commit comments

Comments
 (0)