aboutsummaryrefslogtreecommitdiff
path: root/src/nix/profile.cc
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2021-01-12 19:57:05 +0100
committerEelco Dolstra <edolstra@gmail.com>2021-01-12 19:57:05 +0100
commit29007f8bc6ea42ae1f8311f00c0b5e14f04ec9e5 (patch)
treea96f414a97a2d56c0dc77291c560ceb675fb3705 /src/nix/profile.cc
parent6254b1f5d298ff73127d7b0f0da48f142bdc753c (diff)
nix profile info -> nix profile list
Diffstat (limited to 'src/nix/profile.cc')
-rw-r--r--src/nix/profile.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/nix/profile.cc b/src/nix/profile.cc
index 8cdd34a20..ac60d336c 100644
--- a/src/nix/profile.cc
+++ b/src/nix/profile.cc
@@ -336,7 +336,7 @@ struct CmdProfileUpgrade : virtual SourceExprCommand, MixDefaultProfile, MixProf
}
};
-struct CmdProfileInfo : virtual EvalCommand, virtual StoreCommand, MixDefaultProfile
+struct CmdProfileList : virtual EvalCommand, virtual StoreCommand, MixDefaultProfile
{
std::string description() override
{
@@ -346,7 +346,7 @@ struct CmdProfileInfo : virtual EvalCommand, virtual StoreCommand, MixDefaultPro
std::string doc() override
{
return
- #include "profile-info.md"
+ #include "profile-list.md"
;
}
@@ -408,7 +408,7 @@ struct CmdProfile : NixMultiCommand
{"install", []() { return make_ref<CmdProfileInstall>(); }},
{"remove", []() { return make_ref<CmdProfileRemove>(); }},
{"upgrade", []() { return make_ref<CmdProfileUpgrade>(); }},
- {"info", []() { return make_ref<CmdProfileInfo>(); }},
+ {"list", []() { return make_ref<CmdProfileList>(); }},
{"diff-closures", []() { return make_ref<CmdProfileDiffClosures>(); }},
})
{ }