aboutsummaryrefslogtreecommitdiff
path: root/bin/hurl
diff options
context:
space:
mode:
Diffstat (limited to 'bin/hurl')
-rwxr-xr-xbin/hurl2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/hurl b/bin/hurl
index dcc0fd73..16ea48f8 100755
--- a/bin/hurl
+++ b/bin/hurl
@@ -2,7 +2,7 @@
# Extract <a href="..."> URLs from an HTML document or documents
# Input is either stdin or the given arguments concatenated
-cat -- "${@:-/dev/stdin}" | # shellcheck disable=SC2002
+cat -- "${@:--}" |
# Pipe through pup to get all the href links
pup -p 'a attr{href}' |