1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-26 20:20:58 +01:00
This commit is contained in:
Wouter den Breejen 2007-10-22 13:22:56 +00:00
parent 588356c30a
commit c0dceea9f0
12 changed files with 95 additions and 64 deletions

View file

@ -333,10 +333,11 @@ static void opRunComponent(Strings opFlags, Strings opArgs)
r_commit = false;
}
else if(*i == "--statehelp"){
printMsg(lvlError, format("%1%") % padd("", '-', 100));
//printMsg(lvlError, format("%1%") % padd("", '-', 100));
printHelp();
r_scanforReferences = false;
r_commit = false;
return;
}
//printMsg(lvlError, format("ARG %1%") % *i);
@ -357,7 +358,7 @@ static void opRunComponent(Strings opFlags, Strings opArgs)
//******************* Scan for new references if neccecary
if(r_scanforReferences)
store->scanAndUpdateAllReferences(root_statePath, true); //TODO make recursive a paramter?
store->scanAndUpdateAllReferences(root_statePath, true); //TODO make recursive a paramter? TXN???
//******************* With everything in place, we call the commit script on all statePaths (in)directly referenced **********************