Skip to content

Update some help examples - #8759

Merged
fdncred merged 1 commit into
mainfrom
unknown repository
Apr 5, 2023
Merged

fdncred merged 1 commit into
mainfrom
unknown repository

Conversation

@ghost

@ghost ghost commented Apr 5, 2023

Copy link
Copy Markdown

Description

Recently a few things changed, which now create issues:

  • 1.0.0, +500, and 0x000000 used to get parsed as string, but now just errors
  • each { print $in } -> each {|| print $in }

I looked through all the help pages and fixed every highlighted (red background) error: help commands | each {|i| help $i.name} | table | less

User-Facing Changes

The examples work again and no longer contain error syntax-highlighting

Tests + Formatting

After Submitting

Recently a few things changed, which now create issues:
- `1.0.0`, `+500`, and `0x000000` used to get parsed as string, but now just errors
- `each { print $in }` -> `each {|| print $in }`

I looked through all the help pages and fixed every highlighted (red
background) error: `help commands | each {|i| help $i.name} | table |
less`
@fdncred

fdncred commented Apr 5, 2023

Copy link
Copy Markdown
Contributor

nice catch. thanks!

@fdncred
fdncred merged commit bcdb9bf into nushell:main Apr 5, 2023
@ghost
ghost deleted the update-help-examples branch April 6, 2023 02:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant