Add --help to symclone
This commit is contained in:
parent
4c0ea19f22
commit
1c76e519d5
|
@ -44,7 +44,7 @@ usage() {
|
|||
exit 1
|
||||
}
|
||||
# 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
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in New Issue