Skip to content

Commit c933ac3

Browse files
committed
[cc] remove short CLI options for debug features
1 parent 073bf1d commit c933ac3

File tree

1 file changed

+2
-10
lines changed

1 file changed

+2
-10
lines changed

cc/main.rs

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -53,23 +53,15 @@ struct Args {
5353
print_targets: bool,
5454

5555
/// Dump tokens (for debugging tokenizer)
56-
#[arg(
57-
short = 'T',
58-
long = "dump-tokens",
59-
help = gettext("Dump tokens to stdout")
60-
)]
56+
#[arg(long = "dump-tokens", help = gettext("Dump tokens to stdout"))]
6157
dump_tokens: bool,
6258

6359
/// Run preprocessor and dump result
6460
#[arg(short = 'E', help = gettext("Preprocess only, output to stdout"))]
6561
preprocess_only: bool,
6662

6763
/// Dump AST (for debugging parser)
68-
#[arg(
69-
short = 'A',
70-
long = "dump-ast",
71-
help = gettext("Parse and dump AST to stdout")
72-
)]
64+
#[arg(long = "dump-ast", help = gettext("Parse and dump AST to stdout"))]
7365
dump_ast: bool,
7466

7567
/// Dump IR (for debugging linearizer)

0 commit comments

Comments
 (0)