scripts: extra exit() calls in usage() function
Remove the exit() calls from usage as they should be handled by the caller. Signed-off-by: Dan McGee <dan@archlinux.org>
This commit is contained in:
parent
f35a5cf174
commit
728b601f7b
@ -44,7 +44,6 @@ note: The <destfile> name is important. It must be of the form\n\
|
|||||||
generated database must reside in the same directory as your\n\
|
generated database must reside in the same directory as your\n\
|
||||||
custom packages (also configured in /etc/pacman.conf)\n\n")"
|
custom packages (also configured in /etc/pacman.conf)\n\n")"
|
||||||
echo "$(gettext "Example: gensync /var/abs/local /home/mypkgs/custom.db.tar.gz")"
|
echo "$(gettext "Example: gensync /var/abs/local /home/mypkgs/custom.db.tar.gz")"
|
||||||
exit 0
|
|
||||||
}
|
}
|
||||||
|
|
||||||
version() {
|
version() {
|
||||||
|
@ -43,7 +43,6 @@ directory and then compresses it to <destfile>.\n\n")"
|
|||||||
updatesync will calculate md5sums of packages in the same directory as\n\
|
updatesync will calculate md5sums of packages in the same directory as\n\
|
||||||
<destfile>, unless an alternate [package_directory] is specified.\n\n")"
|
<destfile>, unless an alternate [package_directory] is specified.\n\n")"
|
||||||
echo "$(gettext "Example: updatesync upd /home/mypkgs/custom.db.tar.gz PKGBUILD")"
|
echo "$(gettext "Example: updatesync upd /home/mypkgs/custom.db.tar.gz PKGBUILD")"
|
||||||
exit 0
|
|
||||||
}
|
}
|
||||||
|
|
||||||
version() {
|
version() {
|
||||||
|
Loading…
Reference in New Issue
Block a user