diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2020-03-20 13:15:11 +0100 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2020-03-20 13:15:11 +0100 |
commit | 1537e270fbb9a5a29e7773824062023e3ef5da5a (patch) | |
tree | 3472dd00383294975db10c09d1abf35acc844f65 /src/nix-store/nix-store.cc | |
parent | 1e6e673eb789b7588e159526947545ccc8a2da75 (diff) | |
parent | 4ef43198f341499189f1f9e7e9069224cb4d19ac (diff) |
Merge remote-tracking branch 'origin/master' into flakes
Diffstat (limited to 'src/nix-store/nix-store.cc')
-rw-r--r-- | src/nix-store/nix-store.cc | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/nix-store/nix-store.cc b/src/nix-store/nix-store.cc index 9336baa83..806ab7563 100644 --- a/src/nix-store/nix-store.cc +++ b/src/nix-store/nix-store.cc @@ -572,7 +572,6 @@ static void opGC(Strings opFlags, Strings opArgs) if (*i == "--print-roots") printRoots = true; else if (*i == "--print-live") options.action = GCOptions::gcReturnLive; else if (*i == "--print-dead") options.action = GCOptions::gcReturnDead; - else if (*i == "--delete") options.action = GCOptions::gcDeleteDead; else if (*i == "--max-freed") { long long maxFreed = getIntArg<long long>(*i, i, opFlags.end(), true); options.maxFreed = maxFreed >= 0 ? maxFreed : 0; |