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.
This commit is contained in:
parent
b5ae85f088
commit
aa739e7839
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue