Skip to content

Commit

Permalink
Update CLI
Browse files Browse the repository at this point in the history
  • Loading branch information
bfbachmann committed Jan 13, 2025
1 parent 74a1311 commit 50cbbde
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -69,17 +69,17 @@ fn main() {
.action(ArgAction::SetTrue),
)
.arg(
arg!(-d --debug ... "Include debug info in output")
arg!(name: -g "Generate source-level debug information")
.required(false)
.action(ArgAction::SetTrue),
)
.arg(arg!(-t --target <TARGET> "Target ISA triple").required(false))
.arg(arg!(-t --target <TARGET> "Generate code for the given target").required(false))
.arg(
arg!(-f --format <FORMAT> "Output file format")
.required(false)
.value_parser(["exe", "ir", "bc", "obj", "asm"]),
)
.arg(arg!(-o --out <OUTPUT_PATH> "Output file path").required(false))
.arg(arg!(-o --out <FILE> "Write output to <FILE>").required(false))
.arg(arg!(-l --linker <LINKER> "Linker to use").required(false))
.arg(
Arg::new("linker-flag")
Expand Down

0 comments on commit 50cbbde

Please sign in to comment.