From 7632cad62b4f8a89526d990e6bcaeb36a8e0aa2f Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Sun, 8 Feb 2026 09:06:06 +0100 Subject: feat: Updated CLI syntax. Signed-off-by: Amlal El Mahrouss --- src/CompilerKit/src/Compilers/NectarCompiler+AMD64.cc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/CompilerKit') diff --git a/src/CompilerKit/src/Compilers/NectarCompiler+AMD64.cc b/src/CompilerKit/src/Compilers/NectarCompiler+AMD64.cc index a3ed995..62022ba 100644 --- a/src/CompilerKit/src/Compilers/NectarCompiler+AMD64.cc +++ b/src/CompilerKit/src/Compilers/NectarCompiler+AMD64.cc @@ -1695,22 +1695,22 @@ NECTAR_MODULE(CompilerNectarAMD64) { continue; } - if (strcmp(argv[index], "-nec-verbose") == 0) { + if (strcmp(argv[index], "-fverbose") == 0) { kVerbose = true; continue; } - if (strcmp(argv[index], "-nec-masm") == 0) { + if (strcmp(argv[index], "-fuse-masm") == 0) { kNasmOutput = false; continue; } - if (strcmp(argv[index], "-nec-nasm") == 0) { + if (strcmp(argv[index], "-fuse-nasm") == 0) { kNasmOutput = true; continue; } - if (strcmp(argv[index], "-nec-dialect") == 0) { + if (strcmp(argv[index], "-fprint-dialect") == 0) { if (kFrontend) std::cout << kFrontend->Language() << "\n"; return NECTAR_SUCCESS; @@ -1719,7 +1719,7 @@ NECTAR_MODULE(CompilerNectarAMD64) { CompilerKit::STLString err = "Unknown option: "; err += argv[index]; - CompilerKit::Detail::print_error(err, "NectarDriver"); + CompilerKit::Detail::print_error(err, "Nectar"); continue; } -- cgit v1.2.3