Add --help to symclone

This commit is contained in:
Lockszmith (Mac@VAST) 2025-04-11 17:15:44 -04:00
parent 4c0ea19f22
commit 1c76e519d5
1 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@ usage() {
exit 1 exit 1
} }
# Check if both arguments are provided # Check if both arguments are provided
if [[ -z "$SRC_DIR" || -z "$DEST_DIR" ]]; then if [[ -z "$SRC_DIR" || -z "$DEST_DIR" || "$1" == '--help' ]]; then
usage usage
fi fi