1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-26 04:00:59 +01:00

Fixed ugly '--hello' exception in builder.pl

This commit is contained in:
Wouter den Breejen 2007-08-14 17:54:05 +00:00
parent 5a9cfdeb6e
commit 53c907ca09
3 changed files with 11 additions and 27 deletions

View file

@ -170,13 +170,15 @@ static void initAndRun(int argc, char * * argv)
; /* !!! obsolete - remove eventually */
else if (arg == "--no-build-output" || arg == "-Q")
buildVerbosity = lvlVomit;
//we need to push back since arguments need to be passed on in the state wrapper script
else if (arg == "--help") {
printHelp();
return;
remaining.push_back(arg);
}
else if (arg == "--version") {
std::cout << format("%1% (Nix) %2%") % programId % NIX_VERSION << std::endl;
return;
remaining.push_back(arg);
}
else if (arg == "--keep-failed" || arg == "-K")
keepFailed = true;