mirror of
https://github.com/NixOS/nix
synced 2025-06-28 13:41:15 +02:00
nix --help: Display help using lowdown instead of man
Fixes #4476. Fixes #5231.
This commit is contained in:
parent
14205debb2
commit
49a932fb18
8 changed files with 89 additions and 25 deletions
|
@ -331,6 +331,7 @@ MultiCommand::MultiCommand(const Commands & commands_)
|
|||
if (i == commands.end())
|
||||
throw UsageError("'%s' is not a recognised command", s);
|
||||
command = {s, i->second()};
|
||||
command->second->parent = this;
|
||||
}}
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue