From 6eefad4fffb4476174f7b009c724a07faba9eb32 Mon Sep 17 00:00:00 2001 From: David Lawrence Ramsey <pooka109@gmail.com> Date: Sun, 19 Feb 2017 18:52:05 -0600 Subject: [PATCH] tweaks: mention nano's ability to read from standard input in usage() --- src/nano.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/nano.c b/src/nano.c index 14ed42a7..4f38aef2 100644 --- a/src/nano.c +++ b/src/nano.c @@ -782,6 +782,7 @@ void print_opt_full(const char *shortflag void usage(void) { printf(_("Usage: nano [OPTIONS] [[+LINE,COLUMN] FILE]...\n\n")); + printf(_("If the first file is \"-\", it is read from standard input.\n\n")); #ifdef HAVE_GETOPT_LONG printf(_("Option\t\tGNU long option\t\tMeaning\n")); #else -- GitLab