-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Labels
bugidea approvedThe given proposal has been discussed and approved by the Nix team. An implementation is welcome.The given proposal has been discussed and approved by the Nix team. An implementation is welcome.
Description
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
- checked latest Nix manual (source)
- checked open bug issues and pull requests for possible duplicates
Add 👍 to issues you find important.
Metadata
Metadata
Assignees
Labels
bugidea approvedThe given proposal has been discussed and approved by the Nix team. An implementation is welcome.The given proposal has been discussed and approved by the Nix team. An implementation is welcome.