- give warning for old options instead of error

OBS-URL: https://build.opensuse.org/package/show/X11:common:Factory/update-desktop-files?expand=0&rev=35
This commit is contained in:
Stephan Kulow 2011-12-16 10:21:12 +00:00 committed by Git OBS Bridge
parent b55411cec7
commit b782303b54
3 changed files with 17 additions and 1 deletions

View File

@ -121,7 +121,17 @@ while [ "${1:0:1}" = "-" ]; do
GNAME="${1}"
shift
continue;;
*)
--basedir)
echo "WARNING: basedir is no longer supported"
shift
shift
continue;;
--project)
echo "WARNING: project is no longer supported"
shift
shift
continue;;
*)
echo "UNKNOWN OPTION: $1"
usage 1 ;;
esac

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Dec 16 10:20:44 UTC 2011 - coolo@suse.com
- give warning for old options instead of error
-------------------------------------------------------------------
Fri Dec 16 09:49:24 UTC 2011 - coolo@suse.com

View File

@ -15,6 +15,7 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: update-desktop-files
Version: 12.1
Release: 0