aboutsummaryrefslogtreecommitdiff
path: root/src/nix/command.cc
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2021-01-25 14:38:15 +0100
committerEelco Dolstra <edolstra@gmail.com>2021-01-25 14:38:15 +0100
commitb159d23800eec55412621a0b3e6c926a1dbb1755 (patch)
tree2d9e4b911548c7f1668bdd507a8757cd70658445 /src/nix/command.cc
parent488a826842296c9c2933fb53cc884ed8518f9110 (diff)
Make '--help' do the same as 'help' (i.e. show a manpage)
Diffstat (limited to 'src/nix/command.cc')
-rw-r--r--src/nix/command.cc5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/nix/command.cc b/src/nix/command.cc
index ba58c7d6b..20eeefe91 100644
--- a/src/nix/command.cc
+++ b/src/nix/command.cc
@@ -27,11 +27,6 @@ nix::Commands RegisterCommand::getCommandsFor(const std::vector<std::string> & p
return res;
}
-void NixMultiCommand::printHelp(const string & programName, std::ostream & out)
-{
- MultiCommand::printHelp(programName, out);
-}
-
nlohmann::json NixMultiCommand::toJSON()
{
// FIXME: use Command::toJSON() as well.