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:
Gustavo Chain 2008-01-05 15:35:30 -06:00 committed by Dan McGee
parent f35a5cf174
commit 728b601f7b
2 changed files with 0 additions and 2 deletions

View File

@ -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\
custom packages (also configured in /etc/pacman.conf)\n\n")"
echo "$(gettext "Example: gensync /var/abs/local /home/mypkgs/custom.db.tar.gz")"
exit 0
}
version() {

View File

@ -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\
<destfile>, unless an alternate [package_directory] is specified.\n\n")"
echo "$(gettext "Example: updatesync upd /home/mypkgs/custom.db.tar.gz PKGBUILD")"
exit 0
}
version() {