You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
curl -ofoo.html example.com correctly outputs to foo.html, but wcurl -ofoo.html example.com fails with Unknown option: '-ofoo.html'.. This seems to be because there is no handler for -o* (and -O*, though this behaves differently than from curl) in the argument parser. I suspect adding this (adapted from --output=) would work, and I can open a PR for it if desired.
-o*|-O*)
opt=$(printf "%s\n""${1}"| sed 's/^-[oO]//')
HAS_USER_SET_OUTPUT="true"
OUTPUT_PATH="${opt}";;
The text was updated successfully, but these errors were encountered:
curl -ofoo.html example.com
correctly outputs tofoo.html
, butwcurl -ofoo.html example.com
fails withUnknown option: '-ofoo.html'.
. This seems to be because there is no handler for-o*
(and-O*
, though this behaves differently than from curl) in the argument parser. I suspect adding this (adapted from--output=
) would work, and I can open a PR for it if desired.The text was updated successfully, but these errors were encountered: