forked from Shinonome/dots-hyprland
Fix options.
This commit is contained in:
+2
-2
@@ -25,8 +25,8 @@ cleancache(){
|
|||||||
|
|
||||||
# `man getopt` to see more
|
# `man getopt` to see more
|
||||||
para=$(getopt \
|
para=$(getopt \
|
||||||
-o hfd:c \
|
-o hfk:c \
|
||||||
-l help,force,distro:,clean \
|
-l help,force,kbset:,clean \
|
||||||
-n "$0" -- "$@")
|
-n "$0" -- "$@")
|
||||||
[ $? != 0 ] && echo "$0: Error when getopt, please recheck parameters." && exit 1
|
[ $? != 0 ] && echo "$0: Error when getopt, please recheck parameters." && exit 1
|
||||||
#####################################################################################
|
#####################################################################################
|
||||||
|
|||||||
Reference in New Issue
Block a user