Add 'nix edit' manpage

This commit is contained in:
Eelco Dolstra
2020-12-21 13:32:28 +01:00
parent 4e065229c7
commit b2262be19b
2 changed files with 35 additions and 7 deletions
+4 -7
View File
@@ -15,14 +15,11 @@ struct CmdEdit : InstallableCommand
return "open the Nix expression of a Nix package in $EDITOR";
}
Examples examples() override
std::string doc() override
{
return {
Example{
"To open the Nix expression of the GNU Hello package:",
"nix edit nixpkgs#hello"
},
};
return
#include "edit.md"
;
}
Category category() override { return catSecondary; }