From 2de850479101e5a378c87d1392ea03c63ce224cf Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Tue, 19 Aug 2003 09:04:47 +0000 Subject: * Delete the temporary directories of failed builds by default, and an option `--keep-failed' to override this behaviour. --- src/nix.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/nix.cc') diff --git a/src/nix.cc b/src/nix.cc index 4beeb5da8943..704442c313e4 100644 --- a/src/nix.cc +++ b/src/nix.cc @@ -372,6 +372,8 @@ void run(Strings args) pathArgs = true; else if (arg == "--verbose" || arg == "-v") verbosity = (Verbosity) ((int) verbosity + 1); + else if (arg == "--keep-failed" || arg == "-K") + keepFailed = true; else if (arg == "--help") printHelp(); else if (arg[0] == '-') -- cgit 1.4.1