diff options
author | Ana Hobden <operator@hoverbear.org> | 2022-10-07 09:07:22 -0700 |
---|---|---|
committer | Ana Hobden <operator@hoverbear.org> | 2022-10-07 09:07:22 -0700 |
commit | 069409d16787232dfbaac6a580d4e66d11bb5c86 (patch) | |
tree | 0dc74aeb64e66c4b33f4c0b2ba5fc43903dfd8d1 /src/nix | |
parent | ac0fb38e8a5a25a84fa17704bd31b453211263eb (diff) |
Print common flags in --help
Diffstat (limited to 'src/nix')
-rw-r--r-- | src/nix/main.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nix/main.cc b/src/nix/main.cc index e0155cd5d..006911216 100644 --- a/src/nix/main.cc +++ b/src/nix/main.cc @@ -187,7 +187,7 @@ static void showHelp(std::vector<std::string> subcommand, MultiCommand & topleve *vUtils); auto attrs = state.buildBindings(16); - attrs.alloc("command").mkString(toplevel.toJSON().dump()); + attrs.alloc("toplevel").mkString(toplevel.toJSON().dump()); auto vRes = state.allocValue(); state.callFunction(*vGenerateManpage, state.allocValue()->mkAttrs(attrs), *vRes, noPos); |