The option '--update' can take no argument or one argument('b') but its
parsing script does 'shift' even it takes no argument.
It is fixed by doing 'shift' only if there is a valid argument('b').
The option '--skip-resize' takes no argument but the parsing script
does 'shift'.
It is fixed by removing 'shift'.
Change-Id: Iaf40a86ca7999eb8d0da22e0c14e384fb0cb4826
Signed-off-by: SangYoun Kwak <sy.kwak@samsung.com>
--update)
if [ "$1" == "b" ] ; then
ab_option=2
+ shift
else
ab_option=1
fi
- shift
;;
--skip-resize)
SKIP=1
- shift
;;
*)
if [ $binary_option == 1 ];then