summaryrefslogtreecommitdiffhomepage
path: root/dev/cli/AppMain.cc
diff options
context:
space:
mode:
Diffstat (limited to 'dev/cli/AppMain.cc')
-rw-r--r--dev/cli/AppMain.cc6
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;