Skip to content

Commit 0b817a1

Browse files
committed
fix(convert): require 2 args
1 parent b67b96a commit 0b817a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/convert.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Arguments:
1414
"
1515

1616
# print usage for -? or -h or --help
17-
if [[ "$#" -lt 1 || "$1" =~ ^(-\?|-h|--help)$ ]]; then
17+
if [[ "$#" -lt 2 || "$1" =~ ^(-\?|-h|--help)$ ]]; then
1818
echo "$__usage"
1919
exit 0
2020
fi

0 commit comments

Comments
 (0)