Skip to content

Commit fc555c3

Browse files
committed
Update all help page mentions
1 parent 1d0e702 commit fc555c3

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

docs/guide.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ The help page can be viewed by using `--help` or `-h` command-line option.
3535
```
3636
$ qcc --help
3737
usage: qcc [options] <quale-file>
38-
--help show this page
38+
-h,--help show this page
3939
--print-ast print AST
4040
--print-ast-only print AST without translating to assemmbly
4141
--print-qasm print OpenQASM IR
@@ -45,6 +45,7 @@ usage: qcc [options] <quale-file>
4545
-Og enable all optimizations (NA)
4646
-d,--debug run compiler in debug-mode
4747
-o compiled output
48+
-v,--version compiler version
4849
```
4950

5051
The options are pretty self-explanatory but the `--analyze` and all of

src/utils.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ pub(crate) fn usage() {
4343
{:14}\t{:<20}
4444
{:14}\t{:<20}
4545
",
46-
"--help",
46+
"-h,--help",
4747
"show this page",
4848
"--print-ast",
4949
"print AST",

0 commit comments

Comments
 (0)