Add --help to symclone
This commit is contained in:
parent
4c0ea19f22
commit
1c76e519d5
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue