forked from lix-project/lix
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);
|
.set(&checkSigs, NoCheckSigs);
|
||||||
|
|
||||||
mkFlag()
|
mkFlag()
|
||||||
.longName("substitute")
|
.longName("substitute-on-destination")
|
||||||
.shortName('s')
|
.shortName('s')
|
||||||
.description("whether to try substitutes on the destination store (only supported by SSH)")
|
.description("whether to try substitutes on the destination store (only supported by SSH)")
|
||||||
.set(&substitute, Substitute);
|
.set(&substitute, Substitute);
|
||||||
|
|
Loading…
Reference in a new issue