tazpkg rev 905

tazpkg: "-sm" is for "setup-mirror" only; "search --mirror" is abbreviated as "-s -m", not as "-sm" (thanks Ceel for bug report)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sun Apr 03 03:55:24 2016 +0300 (2016-04-03)
parents c4b60ed5b81c
children f16a2aef84b1
files tazpkg
line diff
     1.1 --- a/tazpkg	Wed Mar 30 09:47:10 2016 +0200
     1.2 +++ b/tazpkg	Sun Apr 03 03:55:24 2016 +0300
     1.3 @@ -311,7 +311,7 @@
     1.4  		check_cmd pkg; @@MODULES@@/description "$2";;
     1.5  
     1.6  
     1.7 -	search|-s|-si|-sl|-sm)
     1.8 +	search|-s|-si|-sl)
     1.9  		# Search for a package by pattern or name.
    1.10  		check_cmd pattern
    1.11  
    1.12 @@ -320,7 +320,7 @@
    1.13  			case "$i" in
    1.14  				-i|-si) export installed='yes';;
    1.15  				-l|-sl) export list='yes';;
    1.16 -				-m|-sm) export mirror='yes';;
    1.17 +				-m)     export mirror='yes';;
    1.18  			esac
    1.19  		done
    1.20