summaryrefslogtreecommitdiff
path: root/archival/dpkg_deb.c
diff options
context:
space:
mode:
Diffstat (limited to 'archival/dpkg_deb.c')
-rw-r--r--archival/dpkg_deb.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/archival/dpkg_deb.c b/archival/dpkg_deb.c
index aed0ba3..c084381 100644
--- a/archival/dpkg_deb.c
+++ b/archival/dpkg_deb.c
@@ -141,14 +141,12 @@ extern int dpkg_deb_main(int argc, char **argv)
break;
*/
default:
- usage(dpkg_deb_usage);
- return EXIT_FAILURE;
+ show_usage();
}
}
if (((optind + 1 ) > argc) || (optflag == 0)) {
- usage(dpkg_deb_usage);
- return(EXIT_FAILURE);
+ show_usage();
}
if ((optflag & dpkg_deb_control) || (optflag & dpkg_deb_extract) || (optflag & dpkg_deb_verbose_extract)) {
if ( (optind + 1) == argc ) {