aboutsummaryrefslogtreecommitdiff
path: root/src/nix/main.cc
diff options
context:
space:
mode:
authorDomen Kožar <domen@dev.si>2021-02-01 13:11:42 +0000
committerDomen Kožar <domen@dev.si>2021-02-01 13:11:42 +0000
commitd0b74e2d2506b9237263ad1294eb7297c99a5e1f (patch)
tree0e7b8630c5cc8ef84e2647aa5c03689d38c13ec4 /src/nix/main.cc
parentb19aec7eeb8353be6c59b2967a511a5072612d99 (diff)
--no-net -> --offline
Diffstat (limited to 'src/nix/main.cc')
-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; }},
});