diff --git a/.gitignore b/.gitignore index 6b436743..8856848f 100644 --- a/.gitignore +++ b/.gitignore @@ -102,3 +102,5 @@ conan/ # Bazel builds with four directories, see for info: # https://bazel.build/remote/output-directories bazel-* +bazel +output \ No newline at end of file diff --git a/README.md b/README.md index ce921c22..26015fd8 100644 --- a/README.md +++ b/README.md @@ -90,7 +90,7 @@ 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. @@ -98,7 +98,7 @@ $ ./hcasm [-h] [--help] [--version] [-o VAR] [-c] [-v VAR] source * `--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) diff --git a/src/Assembler/Main.cpp b/src/Assembler/Main.cpp index 26452e4b..b0c4bce9 100644 --- a/src/Assembler/Main.cpp +++ b/src/Assembler/Main.cpp @@ -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");