diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2021-09-13 14:41:28 +0200 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2021-09-13 14:45:21 +0200 |
commit | 49a932fb18add471feefc469fb45fc44313bd5c6 (patch) | |
tree | 716a8abc8682f190b22d1b2fecb4ed45bb87ae55 /src/libutil/args.cc | |
parent | 14205debb244b925d685e3645c4deef937fa78ec (diff) |
nix --help: Display help using lowdown instead of man
Fixes #4476.
Fixes #5231.
Diffstat (limited to 'src/libutil/args.cc')
-rw-r--r-- | src/libutil/args.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libutil/args.cc b/src/libutil/args.cc index afed0670f..9df279faf 100644 --- a/src/libutil/args.cc +++ b/src/libutil/args.cc @@ -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; }} }); |