summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@nekernel.org>2026-02-08 09:06:06 +0100
committerAmlal El Mahrouss <amlal@nekernel.org>2026-02-08 09:06:06 +0100
commit7632cad62b4f8a89526d990e6bcaeb36a8e0aa2f (patch)
tree2e9a66c3b51e08f5643f20797352fada663ec7f1 /src
parent27b1f3221828544a74c096cd30ab45fd54aeb53f (diff)
feat: Updated CLI syntax.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'src')
-rw-r--r--src/CompilerKit/src/Compilers/NectarCompiler+AMD64.cc10
1 files changed, 5 insertions, 5 deletions
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;
}