updated '--verbose' CLI flag
authorBrendan Hansen <brendan.f.hansen@gmail.com>
Sat, 12 Dec 2020 04:49:52 +0000 (22:49 -0600)
committerBrendan Hansen <brendan.f.hansen@gmail.com>
Sat, 12 Dec 2020 04:49:52 +0000 (22:49 -0600)
onyx
src/onyx.c

diff --git a/onyx b/onyx
index 1bc237a991d69d455bf59d97a188f7e61259e8ea..ade4212141e9f33641791876032393253fe8c7a2 100755 (executable)
Binary files a/onyx and b/onyx differ
index 812452f83e237cce4978d0d484d022b4803ac03b..a0496c9798b9a5a82d2718242d65a13bf3071431 100644 (file)
@@ -89,7 +89,7 @@ static OnyxCompileOptions compile_opts_parse(bh_allocator alloc, int argc, char
             if (!strcmp(argv[i], "-o")) {
                 options.target_file = argv[++i];
             }
-            else if (!strcmp(argv[i], "-verbose")) {
+            else if (!strcmp(argv[i], "--verbose") || !strcmp(argv[i], "-V")) {
                 options.verbose_output = 1;
             }
             else if (!strcmp(argv[i], "-I")) {