Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update docs for open and decode command, regenerate all docs #4815

Merged
merged 3 commits into from
Mar 11, 2022
Merged

Update docs for open and decode command, regenerate all docs #4815

merged 3 commits into from
Mar 11, 2022

Conversation

hustcer
Copy link
Contributor

@hustcer hustcer commented Mar 11, 2022

Description

Update docs for open and decode command, regenerate all docs
Fix #4809

I have checked all the other extra_usage in nu v0.44, most of them were added in nu 0.59, except enter, autoenv, reduce. We don't support enter a file and autoenv yet, so they both could be ignored. And I don't understand the extra_usage of command reduce very well

Tests

Make sure you've run and fixed any issues with these commands:

  • cargo fmt --all -- --check to check standard code formatting (cargo fmt --all applies these changes)
  • cargo clippy --all --all-features -- -D warnings -D clippy::unwrap_used -A clippy::needless_collect to check that you're using the standard code style
  • cargo build; cargo test --all --all-features to check that all the tests pass

@sophiajt
Copy link
Contributor

thanks!

@sophiajt sophiajt merged commit f3626f7 into nushell:main Mar 11, 2022
@hustcer hustcer deleted the feature/usage branch March 11, 2022 10:44
@fdncred
Copy link
Collaborator

fdncred commented Mar 11, 2022

ya, who knows what that reduce mess means. I get a little tired of people typing esoteric programmer lingo in the code base. it just makes it harder to understand for most people. like, it would be good to change all the predicate terms people see in help text and parameters to condition. condition is much more understandable I think.

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.

add extra_usage text from open in 0.44 to decode
3 participants