X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=misc%2Flsattr.c;h=72f4c6816fbf80e56d4982a70cce5b3fb1f66b61;hb=711f699cebdd573daf699d0b091d3ff203dd9cf8;hp=55080e92a6f412959bacc4127678a27db112e653;hpb=c8e9e0135b3eb0d8a18387d58645e7cc1062da58;p=tools%2Fe2fsprogs.git diff --git a/misc/lsattr.c b/misc/lsattr.c index 55080e9..72f4c68 100644 --- a/misc/lsattr.c +++ b/misc/lsattr.c @@ -187,6 +187,8 @@ int main (int argc, char ** argv) #endif if (argc && *argv) program_name = *argv; + else + usage(); while ((c = getopt (argc, argv, "RVadlvp")) != EOF) switch (c) {