diff options
author | Michal Sojka <michal.sojka@cvut.cz> | 2022-10-24 08:49:46 +0200 |
---|---|---|
committer | Michal Sojka <michal.sojka@cvut.cz> | 2022-10-24 08:49:46 +0200 |
commit | a9a868fe6a456a52cf08244dbb87d67798ed3f9c (patch) | |
tree | 5eec351dfede66f7b37977afe60cb3782f75f269 /src/libcmd/command.cc | |
parent | b3d2a05c59266688aa904d5fb326394cbb7e9e90 (diff) |
Improve --profile description
The description of the --profile option talks about the "update" operation.
This is probably meant for operations such as "nix profile install", but the
same option is reused in other subcommands, which do not update the profile,
such as "nix profile {list,history,diff-closures}".
We update the description to make sense in both contexts.
Diffstat (limited to 'src/libcmd/command.cc')
-rw-r--r-- | src/libcmd/command.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcmd/command.cc b/src/libcmd/command.cc index 1fdd9e0bd..0740ea960 100644 --- a/src/libcmd/command.cc +++ b/src/libcmd/command.cc @@ -226,7 +226,7 @@ MixProfile::MixProfile() { addFlag({ .longName = "profile", - .description = "The profile to update.", + .description = "The profile to operate on.", .labels = {"path"}, .handler = {&profile}, .completer = completePath |