From 87c7834654186d64d8271661d51dbb592a436486 Mon Sep 17 00:00:00 2001 From: hayao Date: Wed, 23 Dec 2020 16:54:23 +0900 Subject: [PATCH] [update] : Added help document --- wfa | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/wfa b/wfa index 80065c8..c1b761e 100755 --- a/wfa +++ b/wfa @@ -674,6 +674,23 @@ usage (){ } + local _wfa_usage_remove + _wfa_usage_remove() { + echo "usage: ${wfa_command} {-R --remove} [options] " + echo "options:" + echo " -b, --dbpath set an alternate database location" + echo " -d, --nodeps skip dependency version checks (-dd to skip all checks)" + echo " -u, --unneeded remove unneeded packages" + echo " --arch set an alternate architecture" + echo " --color colorize the output" + echo " --config set an alternate configuration file" + echo " --confirm always ask for confirmation" + echo " --debug display debug messages" + echo " --disable-download-timeout" + echo " use relaxed timeouts for download" + echo " --noconfirm do not ask for any confirmation" + } + if [[ "${operation}" = "none" ]]; then _wfa_usage elif [[ "${_pacman_help}" = true ]]; then -- 2.11.0