]> git.ipfire.org Git - thirdparty/util-linux.git/blobdiff - text-utils/tailf.c
Use --help suggestion on invalid option
[thirdparty/util-linux.git] / text-utils / tailf.c
index c111d02c0ebd0f72efe7a9a230dcc78fb686f17e..9f175822ca763d114b36f3371d46bb9d75491079 100644 (file)
@@ -268,7 +268,7 @@ int main(int argc, char **argv)
                case 'h':
                        usage(stdout);
                default:
-                       usage(stderr);
+                       errtryhelp(EXIT_FAILURE);
                }
 
        if (argc == optind)