diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2020-12-10 19:58:04 +0100 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2020-12-21 13:32:29 +0100 |
commit | f4e9d4fcb3e393af2736f28fc41e4e3b79a8e60d (patch) | |
tree | 74de0e8182dddb45f5d09db900b31215de44db60 /src/nix/diff-closures.cc | |
parent | 4f3e7f4eec9ef5fb86aea9f745a3574cc5cfae28 (diff) |
Add 'nix store diff-closures' manpage
Diffstat (limited to 'src/nix/diff-closures.cc')
-rw-r--r-- | src/nix/diff-closures.cc | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/src/nix/diff-closures.cc b/src/nix/diff-closures.cc index f72b5eff7..0c7d531c1 100644 --- a/src/nix/diff-closures.cc +++ b/src/nix/diff-closures.cc @@ -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 |