[packages/rpm-build-tools] add -s and -u cmdline opts

glen glen at pld-linux.org
Tue Feb 25 11:29:05 CET 2014


commit c40b0b82501ff1a1431e2bcdf3265e9ac523cfea
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Tue Feb 25 12:28:55 2014 +0200

    add -s and -u cmdline opts

 update-geoip.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/update-geoip.sh b/update-geoip.sh
index e6bb1ff..7140fb7 100755
--- a/update-geoip.sh
+++ b/update-geoip.sh
@@ -5,11 +5,11 @@ update=false
 status=false
 while [ $# -gt 0 ]; do
 	case "$1" in
-	update|-update|--update)
+	update|-u|-update|--update)
 		update=true
 		shift
 		;;
-	status|-status|--status)
+	status|-s|-status|--status)
 		status=true
 		shift
 		;;
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/rpm-build-tools.git/commitdiff/c40b0b82501ff1a1431e2bcdf3265e9ac523cfea



More information about the pld-cvs-commit mailing list