mirror of
https://github.com/moparisthebest/pacman
synced 2024-11-11 03:54:59 -05:00
parse_options: add missing newlines
Signed-off-by: Allan McRae <allan@archlinux.org> Signed-off-by: Dan McGee <dan@archlinux.org>
This commit is contained in:
parent
24324ff0e1
commit
ddb8617d96
@ -25,7 +25,7 @@ parse_options() {
|
||||
shift
|
||||
printf " '%s'" "$1"
|
||||
else
|
||||
printf "@SCRIPTNAME@: $(gettext "option %s requires an argument")" "'$1'" >&2
|
||||
printf "@SCRIPTNAME@: $(gettext "option %s requires an argument\n")" "'$1'" >&2
|
||||
ret=1
|
||||
fi
|
||||
fi
|
||||
@ -50,7 +50,7 @@ parse_options() {
|
||||
shift
|
||||
printf " '%s'" "${1}"
|
||||
else
|
||||
printf "@SCRIPTNAME@: $(gettext "option %s requires an argument")" "'-${1:i:1}'" >&2
|
||||
printf "@SCRIPTNAME@: $(gettext "option %s requires an argument\n")" "'-${1:i:1}'" >&2
|
||||
ret=1
|
||||
fi
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user