diff options
| author | Amlal El Mahrouss <amlal@nekernel.org> | 2025-11-19 15:21:27 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-11-19 15:21:27 -0500 |
| commit | 28e3d9b250a11cc1167683e6388d8cca715bb593 (patch) | |
| tree | 2df901a20450049dd0806281a36257f25d354a11 /dev/cli/AppMain.cc | |
| parent | cea3599c93baf5941df4b62e0cd7cb9d0582edf8 (diff) | |
| parent | fab2f2a4b616b9bd763b154605685733c74d7321 (diff) | |
Merge pull request #9 from nekernel-org/devv0.0.6
fix: standardize switch across NeKernel components.
Diffstat (limited to 'dev/cli/AppMain.cc')
| -rw-r--r-- | dev/cli/AppMain.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/dev/cli/AppMain.cc b/dev/cli/AppMain.cc index 53cbdf3..afd912e 100644 --- a/dev/cli/AppMain.cc +++ b/dev/cli/AppMain.cc @@ -16,16 +16,16 @@ int main(int argc, char** argv) { for (size_t index = 1; index < argc; ++index) { std::string index_path = argv[index]; - if (index_path == "-v" || index_path == "--version") { + if (index_path == "-v" || index_path == "-version") { NeBuild::Logger::info() << "NeKernel Build.\n"; NeBuild::Logger::info() << "Bugs or issues? Check out: https://github.com/nekernel-org/nebuild/issues\n"; return EXIT_SUCCESS; - } else if (index_path == "--dry-run" || index_path == "-n") { + } else if (index_path == "-dry-run" || index_path == "-n") { kDryRun = true; continue; - } else if (index_path == "-h" || index_path == "--help") { + } else if (index_path == "-h" || index_path == "-help") { NeBuild::Logger::info() << "usage: nebuild <file>\n"; return EXIT_SUCCESS; |
