* Sort `nix-env -q' output by derivation name.
* `--version' flag for all commands. * Manual updates.
This commit is contained in:
		
							parent
							
								
									47c003cb59
								
							
						
					
					
						commit
						d9f30fe7c7
					
				
					 11 changed files with 83 additions and 56 deletions
				
			
		|  | @ -70,6 +70,9 @@ static void initAndRun(int argc, char * * argv) | |||
|         else if (arg == "--help") { | ||||
|             printHelp(); | ||||
|             return; | ||||
|         } else if (arg == "--version") { | ||||
|             cout << format("%1% (Nix) %2%") % programId % NIX_VERSION << endl; | ||||
|             return; | ||||
|         } else if (arg == "--keep-failed" || arg == "-K") | ||||
|             keepFailed = true; | ||||
|         else remaining.push_back(arg); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue