less: remove unnecessary message
authorDenys Vlasenko <vda.linux@googlemail.com>
Sun, 15 Apr 2018 11:14:51 +0000 (13:14 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Sun, 15 Apr 2018 11:14:51 +0000 (13:14 +0200)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
miscutils/less.c

index 3bce9324764506696a34141cc8b88cbc0e38ed1d..6029b68091c2846157845dfd08803e641760f2b8 100644 (file)
@@ -1856,7 +1856,6 @@ int less_main(int argc, char **argv)
        if (!num_files) {
                if (isatty(STDIN_FILENO)) {
                        /* Just "less"? No args and no redirection? */
-                       bb_error_msg("missing filename");
                        bb_show_usage();
                }
        } else {