mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-25 23:36:16 +02:00
parent
f300e11b05
commit
6d1605818c
3 changed files with 4 additions and 3 deletions
|
@ -87,7 +87,7 @@ impacted the most by bad user experience.
|
||||||
and [aligning of text](#text-alignment).
|
and [aligning of text](#text-alignment).
|
||||||
- [Autocomplete](#shell-completion) of options.
|
- [Autocomplete](#shell-completion) of options.
|
||||||
|
|
||||||
Examples of such commands: `nix doctor`, `nix edit`, `nix eval`, ...
|
Examples of such commands: `nix edit`, `nix eval`, ...
|
||||||
|
|
||||||
- **Utility and scripting commands**
|
- **Utility and scripting commands**
|
||||||
|
|
||||||
|
|
|
@ -38,7 +38,7 @@ void checkInfo(const std::string & msg) {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
struct CmdDoctor : StoreCommand
|
struct CmdConfigCheck : StoreCommand
|
||||||
{
|
{
|
||||||
bool success = true;
|
bool success = true;
|
||||||
|
|
||||||
|
@ -152,4 +152,4 @@ struct CmdDoctor : StoreCommand
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
static auto rCmdDoctor = registerCommand<CmdDoctor>("doctor");
|
static auto rCmdConfigCheck = registerCommand2<CmdConfigCheck>({ "config", "check" });
|
|
@ -139,6 +139,7 @@ struct NixArgs : virtual MultiCommand, virtual MixCommonArgs, virtual RootArgs
|
||||||
{"to-base32", {"hash", "to-base32"}},
|
{"to-base32", {"hash", "to-base32"}},
|
||||||
{"to-base64", {"hash", "to-base64"}},
|
{"to-base64", {"hash", "to-base64"}},
|
||||||
{"verify", {"store", "verify"}},
|
{"verify", {"store", "verify"}},
|
||||||
|
{"doctor", {"config", "check"}},
|
||||||
};
|
};
|
||||||
|
|
||||||
bool aliasUsed = false;
|
bool aliasUsed = false;
|
||||||
|
|
Loading…
Reference in a new issue