Browse Source

* added -e alias for --extenders to bin/sde-list-pkg

git-svn-id: svn://svn.opensde.net/opensde/opensde/trunk@21691 10447126-35f2-4685-b0cf-6dd780d3921f
misl/sde-wrapper
Alejandro Mery 17 years ago
parent
commit
8eee07e2fd
1 changed files with 3 additions and 5 deletions
  1. +3
    -5
      bin/sde-list-pkg

+ 3
- 5
bin/sde-list-pkg

@ -145,9 +145,7 @@ list_desc() {
echo "$desc" echo "$desc"
fi fi
done done
elif [ $# -eq 0 ]; then
:
else
elif [ $# -gt 0 ]; then
if [ $# -eq 1 ]; then if [ $# -eq 1 ]; then
pattern=$1 pattern=$1
else else
@ -173,7 +171,7 @@ mode=desc
extenders= extenders=
repositories= repositories=
shortopts='a:c:r'
shortopts='a:c:er'
longopts='arch:,cfg:,extenders,repositories' longopts='arch:,cfg:,extenders,repositories'
options=$( getopt -o "$shortopts" -l "$longopts" -- "$@" ) options=$( getopt -o "$shortopts" -l "$longopts" -- "$@" )
if [ $? -ne 0 ]; then if [ $? -ne 0 ]; then
@ -193,7 +191,7 @@ while [ $# -gt 0 ]; do
-r|--repositories) -r|--repositories)
repositories=yes ;; repositories=yes ;;
--extenders)
-e|--extenders)
extenders=yes ;; extenders=yes ;;
--) shift; break ;; --) shift; break ;;

Loading…
Cancel
Save