dump a useful error message if nothing happened
This commit is contained in:
parent
5e28066929
commit
450cc13a5c
@ -150,5 +150,8 @@ int fstabinfo (int argc, char **argv)
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (result != EXIT_SUCCESS && argc == optind)
|
||||||
|
fprintf (stderr, "%s: no arguments specified\n", argv[0]);
|
||||||
|
|
||||||
exit (result);
|
exit (result);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user