Add a "help" category

This makes the help commands show up prominently at the top of the
'nix' manpage.
This commit is contained in:
Eelco Dolstra
2023-03-21 14:43:58 +01:00
parent 233b063b08
commit c967c29290
2 changed files with 6 additions and 0 deletions
+1
View File
@@ -18,6 +18,7 @@ class EvalState;
struct Pos;
class Store;
static constexpr Command::Category catHelp = -1;
static constexpr Command::Category catSecondary = 100;
static constexpr Command::Category catUtility = 101;
static constexpr Command::Category catNixInstallation = 102;