summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Sima <ben@bsima.me>2021-05-22 16:25:48 -0400
committerBen Sima <ben@bsima.me>2021-05-22 16:25:48 -0400
commit981d7ae9d05f8ce94eacc45e6b8eb46fdcd8c236 (patch)
tree002bfae832c76eeaf23c9a2cd6f27eefba0da48e
parent4685c6bd5a7afc598b1f130835253af42d496cfc (diff)
fix arg count
-rwxr-xr-xghpatch2
1 files changed, 1 insertions, 1 deletions
diff --git a/ghpatch b/ghpatch
index 66365af..79000f4 100755
--- a/ghpatch
+++ b/ghpatch
@@ -1,5 +1,5 @@
#!/usr/bin/env bash
-if (( $# < 0 ))
+if (( $# < 1 ))
then
echo "usage: ghpatch <github PR url>"
fi