summaryrefslogtreecommitdiffstats
path: root/disk-utils/partx.c
diff options
context:
space:
mode:
Diffstat (limited to 'disk-utils/partx.c')
-rw-r--r--disk-utils/partx.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/disk-utils/partx.c b/disk-utils/partx.c
index cff160fbe..d74a52a6e 100644
--- a/disk-utils/partx.c
+++ b/disk-utils/partx.c
@@ -876,9 +876,8 @@ int main(int argc, char **argv)
case 'V':
printf(UTIL_LINUX_VERSION);
return EXIT_SUCCESS;
- case '?':
default:
- usage(stderr);
+ errtryhelp(EXIT_FAILURE);
}
}