Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -102,3 +102,5 @@ conan/
# Bazel builds with four directories, see for info:
# https://bazel.build/remote/output-directories
bazel-*
bazel
output
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,15 +90,15 @@ Check out [examples](examples) folder for interesting code examples that will he
#### `hcasm` (hASM assembler)

```bash
$ ./hcasm [-h] [--help] [--version] [-o VAR] [-c] [-v VAR] source
$ ./hcasm [-h] [--help] [--version] [-o VAR] [-c] [-V VAR] source
```

* `source` — source code file to be compiled.
* `-h`, `--help` — display help message and exit.
* `--version` — display program version and exit.
* `-o VAR` — specify output binary file name.
* `-c` — generate an object file.
* `-v VAR` — specify verbosity level (`debug`, `info`, `warning`, `error`). Default value is `warning`.
* `-V VAR` — specify verbosity level (`debug`, `info`, `warning`, `error`). Default value is `warning`.

#### `hcemul` (hCPU emulator)

Expand Down
2 changes: 1 addition & 1 deletion src/Assembler/Main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ int main(int argc, char** argv) {
.help("compile to object file")
.default_value(false)
.implicit_value(true);
program.add_argument("-v")
program.add_argument("-V")
.default_value(std::string{"warning"})
.help("set verbosity level. possible modes:\n- debug\n- info\n- warning\n- error");

Expand Down