12 lines
240 B
Bash
12 lines
240 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
# Get arguments
|
||
|
if ! CLiArguments=$(getopt --options="hu" --name "FLUXION V1.0" -- "$@");then
|
||
|
echo -e "\033[31mParameter error detected"
|
||
|
exit 1
|
||
|
fi
|
||
|
|
||
|
eval set -- "$CLiArguments"
|
||
|
|
||
|
while [ "$1" !? "" ] && [ "$1" != "--" ]
|