diff --git a/manpages/bee-list.1.in b/manpages/bee-list.1.in index b4e783c..8635329 100644 --- a/manpages/bee-list.1.in +++ b/manpages/bee-list.1.in @@ -4,7 +4,7 @@ bee\-list \- List installed and available bee packages .SH "SYNOPSIS" .SY "bee list" .OP \-ahi -.OP \-\-exact +.OP \-\-by\-pkgfullname .I pattern .YS .SH "DESCRIPTION" @@ -24,7 +24,7 @@ is invoked by the wrapper tool List all bee packages available for installation that match .IR pattern . .TP -.B \-\-exact +.B \-\-by\-pkgfullname Use this flag, if you want that .I pattern has to match the full packagename. diff --git a/src/bee-check.sh.in b/src/bee-check.sh.in index 65ae7b2..933cc76 100755 --- a/src/bee-check.sh.in +++ b/src/bee-check.sh.in @@ -56,7 +56,7 @@ pkg_check_all() { ## ## pkg_check_deps() { - installed=$(${BEE_LIBEXECDIR}/bee/bee.d/bee-list --installed --exact ${1}) + installed=$(${BEE_LIBEXECDIR}/bee/bee.d/bee-list --installed --by-pkgfullname ${1}) if [ ! "${installed}" -a $OPT_F -gt 0 ] ; then installed=$(${BEE_LIBEXECDIR}/bee/bee.d/bee-list --installed "${1}") @@ -74,7 +74,7 @@ pkg_check_deps() { ## ## pkg_check() { - installed=$(${BEE_LIBEXECDIR}/bee/bee.d/bee-list --installed --exact ${1}) + installed=$(${BEE_LIBEXECDIR}/bee/bee.d/bee-list --installed --by-pkgfullname ${1}) if [ ! "${installed}" -a $OPT_F -gt 0 ] ; then installed=$(${BEE_LIBEXECDIR}/bee/bee.d/bee-list --installed "${1}") diff --git a/src/bee-list.sh.in b/src/bee-list.sh.in index 9c5d0bc..2a5fa33 100755 --- a/src/bee-list.sh.in +++ b/src/bee-list.sh.in @@ -131,6 +131,7 @@ options=$(getopt -n bee-list \ -o aih \ --long available \ --long installed \ + --long by-pkgfullname \ --long exact \ --long help \ --long debug \ @@ -160,7 +161,7 @@ while true ; do shift filter="installed" ;; - --exact) + --by-pkgfullname|--exact) shift OPT_EXACT="yes" ;; @@ -178,7 +179,7 @@ done if [ "${OPT_EXACT}" = "yes" ] ; then if [ ! -z ${2} ] ; then - echo >&2 "argument error: --exact only takes one package at a time .." + echo >&2 "argument error: --by-pkgfullname only takes one package at a time .." exit 1 fi