aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2019-07-10 10:29:41 +0200
committerEelco Dolstra <edolstra@gmail.com>2019-07-10 11:28:37 +0200
commitaa739e783993864aa6e0c8a4820e6b59f4626d92 (patch)
treef8a3c3589704de891ef81385654b9285d7f9b329
parentb5ae85f0882f4857f550ed68b23af260af5000a0 (diff)
nix copy: Rename --substitute to --substitute-on-destination
'--substitute' was being shadowed by the regular '--substitute' (the short-hand for '--option substitute true'). Fixes #2983.
-rw-r--r--src/nix/copy.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nix/copy.cc b/src/nix/copy.cc
index 96bd453d8..12a9f9cd3 100644
--- a/src/nix/copy.cc
+++ b/src/nix/copy.cc
@@ -36,7 +36,7 @@ struct CmdCopy : StorePathsCommand
.set(&checkSigs, NoCheckSigs);
mkFlag()
- .longName("substitute")
+ .longName("substitute-on-destination")
.shortName('s')
.description("whether to try substitutes on the destination store (only supported by SSH)")
.set(&substitute, Substitute);