]> git.ipfire.org Git - thirdparty/util-linux.git/blobdiff - sys-utils/swapoff.c
Use --help suggestion on invalid option
[thirdparty/util-linux.git] / sys-utils / swapoff.c
index dd3bf05fc14037431d5901024b788fcf63255cfb..e20c502bde608abda61cb13e6379a6872177be62 100644 (file)
@@ -221,9 +221,8 @@ int main(int argc, char *argv[])
                case 'U':
                        add_uuid(optarg);
                        break;
-               case '?':
                default:
-                       usage(stderr);
+                       errtryhelp(EXIT_FAILURE);
                }
        }
        argv += optind;