stdlib: fix the names of the help commands in help.nu (#9252)

related to the changes in
- #9193

# Description
when we change the namespace of a module, the internal calls to the
`export`ed commands needs to be updated as well 👀 😆

without this, we have the following pretty error:
```
> std help ansi
Error:   × std::help::item_not_found
   ╭─[entry #1:1:1]
 1 │ std help ansi
   ·          ──┬─
   ·            ╰── item not found
   ╰────
```
This commit is contained in:
Antoine Stevan 2023-05-20 17:37:17 +02:00 committed by GitHub
parent 6564ed710d
commit 9b139330f8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -726,13 +726,13 @@ You can also learn more at (ansi default_italic)(ansi light_cyan_underline)https
let target_item = ($item | str join " ")
let commands = (try { help commands $target_item --find $find })
let commands = (try { commands $target_item --find $find })
if not ($commands | is-empty) { return $commands }
let aliases = (try { help aliases $target_item --find $find })
let aliases = (try { aliases $target_item --find $find })
if not ($aliases | is-empty) { return $aliases }
let modules = (try { help modules $target_item --find $find })
let modules = (try { modules $target_item --find $find })
if not ($modules | is-empty) { return $modules }
let span = (metadata $item | get span)