aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2021-02-01 14:55:21 +0100
committerGitHub <noreply@github.com>2021-02-01 14:55:21 +0100
commitd0a04d1abb2881c008e2a014993a74e2012128b1 (patch)
tree0e7b8630c5cc8ef84e2647aa5c03689d38c13ec4
parentb19aec7eeb8353be6c59b2967a511a5072612d99 (diff)
parentd0b74e2d2506b9237263ad1294eb7297c99a5e1f (diff)
Merge pull request #4500 from domenkozar/offline
--no-net -> --offline
-rw-r--r--src/nix/main.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nix/main.cc b/src/nix/main.cc
index 58b643cc5..e95b04d85 100644
--- a/src/nix/main.cc
+++ b/src/nix/main.cc
@@ -91,7 +91,7 @@ struct NixArgs : virtual MultiCommand, virtual MixCommonArgs
});
addFlag({
- .longName = "no-net",
+ .longName = "offline",
.description = "Disable substituters and consider all previously downloaded files up-to-date.",
.handler = {[&]() { useNet = false; }},
});