Describe the bug
nix help shell tries to gaslight the user into thinking the subcommand doesn't exist:
$ nix help shell
error: Nix has no subcommand 'shell'
Try 'nix --help' for more information.
nix shell --help correctly opens the manual, which calls the command nix env shell, but which then uses nix shell in every single example. Given how often this shorter alias is used, I think it's reasonable to expect nix help shell to show the correct documentation.
Steps To Reproduce
Run nix help shell
Expected behavior
Documentation is shown.
Metadata
nix-env (Nix) 2.28.4
Additional context
Checklist
Add 👍 to issues you find important.
Describe the bug
nix help shelltries to gaslight the user into thinking the subcommand doesn't exist:nix shell --helpcorrectly opens the manual, which calls the commandnix env shell, but which then usesnix shellin every single example. Given how often this shorter alias is used, I think it's reasonable to expectnix help shellto show the correct documentation.Steps To Reproduce
Run
nix help shellExpected behavior
Documentation is shown.
Metadata
nix-env (Nix) 2.28.4Additional context
Checklist
Add 👍 to issues you find important.