diff options
| author | Thomas Voss <mail@thomasvoss.com> | 2026-03-10 17:42:17 +0100 |
|---|---|---|
| committer | Thomas Voss <mail@thomasvoss.com> | 2026-03-10 17:42:17 +0100 |
| commit | aa47e20faf00a64a73cf049c449aa39f020fa6a7 (patch) | |
| tree | 09baecc063a257a1983d7643d51fc7b22b053e22 | |
| parent | 4e4232490a56bd573a40c46308e1eec8fdd7c875 (diff) | |
Compiler flags must be long
| -rw-r--r-- | oryxc/src/main.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/oryxc/src/main.rs b/oryxc/src/main.rs index 62bc743..e3523bd 100644 --- a/oryxc/src/main.rs +++ b/oryxc/src/main.rs @@ -30,10 +30,10 @@ pub struct Flags { #[derive(Parser)] struct Args { - #[arg(short = 'l', long)] + #[arg(long)] debug_lexer: bool, - #[arg(short = 'p', long)] + #[arg(long)] debug_parser: bool, #[arg(short = 's', long, default_value = "standard")] @@ -79,7 +79,7 @@ fn main() { fn usage() -> String { format!( concat!( - "Usage: {0} [-lp] [-s oneline|standard] [-t threads]\n", + "Usage: {0} [-s oneline|standard] [-t threads]\n", " {0} -h", ), errors::progname().display() |