mirror of
https://github.com/shvedes/photoshop-linux.git
synced 2025-07-04 10:25:05 +00:00
added: little fix
This commit is contained in:
parent
76dc948390
commit
7754253619
@ -508,7 +508,7 @@ while getopts "a:i:u:h" opt; do
|
||||
a)
|
||||
LOCAL_ARCHIVE="$OPTARG" ;;
|
||||
h)
|
||||
get_help ;;
|
||||
get_help && exit 0 ;;
|
||||
i)
|
||||
INSTALL_PATH="$OPTARG" ;;
|
||||
u)
|
||||
@ -516,7 +516,7 @@ while getopts "a:i:u:h" opt; do
|
||||
:)
|
||||
echo "Option -${OPTARG} requires an argument" && exit 1 ;;
|
||||
?)
|
||||
echo "Invalid option: -$OPTARG Use -h for help." && exit 1 ;;
|
||||
echo "Invalid option. Use -h for help" && exit 1 ;;
|
||||
esac
|
||||
done
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user