forked from lix-project/lix
Show message about --update-input
being replaced by nix flake update
Change-Id: I6ee23874cb09f51d788521273076a25ba8764859
This commit is contained in:
parent
c8009321bf
commit
0b4a54242e
|
@ -134,6 +134,15 @@ struct CmdFlakeLock : FlakeCommand
|
||||||
|
|
||||||
CmdFlakeLock()
|
CmdFlakeLock()
|
||||||
{
|
{
|
||||||
|
addFlag({
|
||||||
|
.longName="update-input",
|
||||||
|
.description="Replaced with `nix flake update input...`",
|
||||||
|
.labels={"input-path"},
|
||||||
|
.handler={[&](std::string inputToUpdate){
|
||||||
|
throw UsageError("`nix flake lock --update-input %1%` has been replaced by `nix flake update %1%`", inputToUpdate);
|
||||||
|
}}
|
||||||
|
});
|
||||||
|
|
||||||
/* Remove flags that don't make sense. */
|
/* Remove flags that don't make sense. */
|
||||||
removeFlag("no-write-lock-file");
|
removeFlag("no-write-lock-file");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue