mirror of
https://github.com/curl/curl.git
synced 2026-08-25 02:33:31 +03:00
tidy-up: miscellaneous
- drop more uses of the word "just". (not enforced here) - drop some uses of the "will" word. - "then" -> "than". - tests/http/testenv/curl.py: fix copy-paste typo in error message. - pytest: replace `shutdownh` with `shutdown` in test names. Spotted by GitHub Code Quality. - comment typos. - whitespace and newlines fixes. Closes #21830
This commit is contained in:
parent
032b15c434
commit
d229055549
116 changed files with 184 additions and 185 deletions
|
|
@ -67,7 +67,7 @@ Options:
|
|||
--no-decode-filename: Do not percent-decode the output filename, even if the percent-encoding in
|
||||
the URL was done by wcurl, e.g.: The URL contained whitespace.
|
||||
|
||||
--dry-run: Do not actually execute curl, just print what would be invoked.
|
||||
--dry-run: Do not actually execute curl, only print what would be invoked.
|
||||
|
||||
-V, --version: Print version information.
|
||||
|
||||
|
|
@ -197,7 +197,7 @@ get_url_filename()
|
|||
# sed to also replace ':' with the percent_encoded %3A
|
||||
*/*) percent_decode "$(printf %s "${hostname_and_path}" | sed -e 's,^.*/,,' -e 's,:,%3A,g')" ;;
|
||||
esac
|
||||
# No slash means there was just a hostname and no path; return empty string.
|
||||
# No slash means there was only a hostname and no path; return empty string.
|
||||
}
|
||||
|
||||
# Execute curl with the list of URLs provided by the user.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue