Skip to content

docs: clarify --silent flag doesn't suppress exit codes#249

Merged
nfischer merged 1 commit into
shelljs:mainfrom
Jah-yee:main
Jun 6, 2026
Merged

docs: clarify --silent flag doesn't suppress exit codes#249
nfischer merged 1 commit into
shelljs:mainfrom
Jah-yee:main

Conversation

@Jah-yee
Copy link
Copy Markdown
Contributor

@Jah-yee Jah-yee commented May 4, 2026

Description

Clarifies that the --silent flag only suppresses error output, not the exit code. Users in #208 expected --silent to also suppress exit codes, leading to confusion in npm scripts.

Changes

Added one line to the README Usage example:

$ shx --silent ls fakeFileName || shx true  # silence error output and ignore the exit status

This follows the exact suggestion from the maintainer in #208.

Related

Fixes #208

Fixes shelljs#208. The --silent flag only suppresses error output, not
the exit code. Add an example showing how to combine --silent
with '|| shx true' to also ignore the exit status.
@Jah-yee Jah-yee mentioned this pull request May 4, 2026
@Jah-yee
Copy link
Copy Markdown
Contributor Author

Jah-yee commented May 11, 2026

Hi @shelljs/maintainers, gentle ping on this --silent docs clarification. Let me know if anything needs changing! 🙏

@Jah-yee
Copy link
Copy Markdown
Contributor Author

Jah-yee commented May 13, 2026

Hi! Just checking in on this PR. It's been about 9 days since the last update. Is there anything I can do to help move this forward? 🙏

@Jah-yee
Copy link
Copy Markdown
Contributor Author

Jah-yee commented May 18, 2026

Friendly ping! 😊 This PR has been waiting for review for 5+ days and the 7-day spam-control threshold is approaching (2026-05-20). Just wanted to make sure this didn't slip through. Let me know if you need any changes!

@Jah-yee
Copy link
Copy Markdown
Contributor Author

Jah-yee commented Jun 5, 2026

👋 Hi maintainers, just checking in on this PR. Is there anything I can do to help move it forward?

@Jah-yee
Copy link
Copy Markdown
Contributor Author

Jah-yee commented Jun 6, 2026

Hi! Just checking in — this PR has been open for 30+ days with no review. Happy to make any adjustments if needed. Thanks! 🙏

@nfischer nfischer merged commit a622a28 into shelljs:main Jun 6, 2026
@nfischer
Copy link
Copy Markdown
Member

nfischer commented Jun 6, 2026

Thank you for the contribution!

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.

--silent doesn't work

2 participants