Magellan Linux

Diff of /trunk/mage/usr/lib/mage/magequery.sh

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1205 by niro, Sun Oct 5 10:33:04 2008 UTC revision 1206 by niro, Fri Jan 28 20:33:29 2011 UTC
# Line 12  print_usage() Line 12  print_usage()
12   echo "    -b BUILD  searches for build number BUILD, needs -n -v"   echo "    -b BUILD  searches for build number BUILD, needs -n -v"
13   echo "    -c CAT    shows all packages of given categorie"   echo "    -c CAT    shows all packages of given categorie"
14   echo "    -i        shows an inventory of all installed packages"   echo "    -i        shows an inventory of all installed packages"
15   echo "    -f PATH   searches packages name in given path"   echo "    -f PATH   searches package names in given path"
16   echo   echo
17   echo " Examples:"   echo " Examples:"
18   echo   echo
# Line 26  GET_INVENTORY=false Line 26  GET_INVENTORY=false
26  SEARCH_ONLY_PATH=false  SEARCH_ONLY_PATH=false
27  SEARCH_ONLY_CAT=false  SEARCH_ONLY_CAT=false
28    
29  while getopts "n:v:b:f:c:hi-" opt ; do  while getopts "n:v:b:f:c:hi-" opt
30    do
31   case "${opt}" in   case "${opt}" in
32   n)   n)
33   S_PNAME="${OPTARG}"   S_PNAME="${OPTARG}"

Legend:
Removed from v.1205  
changed lines
  Added in v.1206