diff options
-rw-r--r-- | src/libcmd/installables.cc | 5 | ||||
-rw-r--r-- | src/libstore/globals.hh | 2 |
2 files changed, 4 insertions, 3 deletions
diff --git a/src/libcmd/installables.cc b/src/libcmd/installables.cc index 0ffb97a5e..95327f958 100644 --- a/src/libcmd/installables.cc +++ b/src/libcmd/installables.cc @@ -58,11 +58,12 @@ MixFlakeOptions::MixFlakeOptions() addFlag({ .longName = "no-registries", - .description = "Don't allow lookups in the flake registries.", + .description = + "Don't allow lookups in the flake registries. This option is deprecated; use `--no-use-registries`.", .category = category, .handler = {[&]() { lockFlags.useRegistries = false; - warn("--no-registries is deprecated; use --no-use-registries (a.k.a --option use-registries false)"); + warn("'--no-registries' is deprecated; use '--no-use-registries'"); }} }); diff --git a/src/libstore/globals.hh b/src/libstore/globals.hh index a52d20376..8784d5faf 100644 --- a/src/libstore/globals.hh +++ b/src/libstore/globals.hh @@ -958,7 +958,7 @@ public: )"}; Setting<bool> useRegistries{this, true, "use-registries", - "Whether to use flake registries for reference resolution"}; + "Whether to use flake registries to resolve flake references."}; }; |