require args

This commit is contained in:
sneurlax 2024-05-21 17:05:45 -05:00
parent 6619940c93
commit c828081c3d

View file

@ -6,6 +6,11 @@ usage() {
exit 1 exit 1
} }
# Check if no arguments are provided.
if [ $# -eq 0 ]; then
usage
fi
# Parse command-line arguments. # Parse command-line arguments.
while getopts "v:b:" opt; do while getopts "v:b:" opt; do
case "$opt" in case "$opt" in