Commit 6eefad4f authored by David Lawrence Ramsey's avatar David Lawrence Ramsey Committed by Benno Schulenberg
Browse files

tweaks: mention nano's ability to read from standard input in usage()

parent e5731fe1
Showing with 1 addition and 0 deletions
+1 -0
...@@ -782,6 +782,7 @@ void print_opt_full(const char *shortflag ...@@ -782,6 +782,7 @@ void print_opt_full(const char *shortflag
void usage(void) void usage(void)
{ {
printf(_("Usage: nano [OPTIONS] [[+LINE,COLUMN] FILE]...\n\n")); 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 #ifdef HAVE_GETOPT_LONG
printf(_("Option\t\tGNU long option\t\tMeaning\n")); printf(_("Option\t\tGNU long option\t\tMeaning\n"));
#else #else
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment