aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2024-08-10 13:07:21 -0300
committerSilvio Rhatto <rhatto@riseup.net>2024-08-10 13:07:21 -0300
commit5e291961ed26165167165c4966f805bbf01de2b4 (patch)
tree195a3ea75ddef858b673187a626293e21f629928
parentdefcbca74eed4a5541cf9fc18f998d59405e2e9f (diff)
downloadscripts-5e291961ed26165167165c4966f805bbf01de2b4.tar.gz
scripts-5e291961ed26165167165c4966f805bbf01de2b4.tar.bz2
Feat: adds repl script (2)
-rwxr-xr-xrepl2
1 files changed, 1 insertions, 1 deletions
diff --git a/repl b/repl
index f205b36..4afca89 100755
--- a/repl
+++ b/repl
@@ -22,7 +22,7 @@ function _repl {
}
# Check
-if [ -z "$COMMAND" ]; then
+if [ -z "$1" ]; then
echo "usage: $BASENAME <command> [base-args]"
exit 1
fi