From 42160677262fcd663952ba0688109f639c3dd9ce Mon Sep 17 00:00:00 2001 From: clsty Date: Wed, 21 Feb 2024 23:53:02 +0800 Subject: [PATCH] Fix options. --- scriptdata/options | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scriptdata/options b/scriptdata/options index d78a674ae..3fa45ec13 100644 --- a/scriptdata/options +++ b/scriptdata/options @@ -25,8 +25,8 @@ cleancache(){ # `man getopt` to see more para=$(getopt \ - -o hfd:c \ - -l help,force,distro:,clean \ + -o hfk:c \ + -l help,force,kbset:,clean \ -n "$0" -- "$@") [ $? != 0 ] && echo "$0: Error when getopt, please recheck parameters." && exit 1 #####################################################################################