forked from lix-project/lix
Show message about --update-input
being replaced by nix flake update
Fixes: lix-project/lix#283
Change-Id: I6ee23874cb09f51d788521273076a25ba8764859
This commit is contained in:
parent
cc3674ea93
commit
5d3910330d
|
@ -134,6 +134,15 @@ struct CmdFlakeLock : FlakeCommand
|
|||
|
||||
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. */
|
||||
removeFlag("no-write-lock-file");
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue