Add 'nix store diff-closures' manpage

This commit is contained in:
Eelco Dolstra
2020-12-21 13:32:29 +01:00
parent 4f3e7f4eec
commit f4e9d4fcb3
2 changed files with 55 additions and 7 deletions
+4 -7
View File
@@ -121,14 +121,11 @@ struct CmdDiffClosures : SourceExprCommand
return "show what packages and versions were added and removed between two closures";
}
Examples examples() override
std::string doc() override
{
return {
{
"To show what got added and removed between two versions of the NixOS system profile:",
"nix store diff-closures /nix/var/nix/profiles/system-655-link /nix/var/nix/profiles/system-658-link",
},
};
return
#include "diff-closures.md"
;
}
void run(ref<Store> store) override