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

fetch-configlet_v3: Add -Sf flags to curl #104

Merged
merged 1 commit into from
Dec 16, 2020

Conversation

ee7
Copy link
Member

@ee7 ee7 commented Dec 16, 2020

Summary:

  • Add the -S, --show-error flag. When combined with the existing
    -s, --silent flag, this hides curl's progress meter without hiding
    error messages.
  • Add the -f, --fail flag. This helps to stop curl from piping
    non-useful output into grep or tar in the case of failure.

See:

I believe that these flags would've helped when we were debugging the
issue that was solved by #174

Summary:
- Add the `-S, --show-error` flag. When combined with the existing
  `-s, --silent` flag, this hides curl's progress meter without hiding
  error messages.
- Add the `-f, --fail` flag. This helps to stop curl from piping
  non-useful output into `grep` or `tar` in the case of failure.

See:
- https://curl.se/docs/manpage.html#-S
- https://curl.se/docs/manpage.html#-f
@ee7 ee7 merged commit 761c9f7 into exercism:master Dec 16, 2020
@ee7 ee7 deleted the fetch-configlet_v3-curl-Sf branch December 16, 2020 12:52
ee7 added a commit to ee7/exercism-configlet that referenced this pull request Jan 21, 2021
Summary:
- Add the `-S, --show-error` flag. When combined with the existing
  `-s, --silent` flag, this hides curl's progress meter without hiding
  error messages.
- Add the `-f, --fail` flag. This helps to stop curl from piping
  non-useful output into `grep` or `tar` in the case of failure.

See:
- https://curl.se/docs/manpage.html#-S
- https://curl.se/docs/manpage.html#-f
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.

2 participants