bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

doc: adjust spacing in ls --help output, for better man formatting


From: Jim Meyering
Subject: doc: adjust spacing in ls --help output, for better man formatting
Date: Mon, 13 Oct 2008 21:11:42 +0200

ls.1 formatting was wrong.
This fixes it:

>From 59964c164b33f01b1eb3e26ce5c65a78e741148a Mon Sep 17 00:00:00 2001
From: Jim Meyering <address@hidden>
Date: Mon, 13 Oct 2008 21:03:38 +0200
Subject: [PATCH] doc: adjust spacing in ls --help output, for better man 
formatting

* src/ls.c (usage): Adjust spacing so the "Exit status:" list
renders well in the help2man-generated man page.
---
 src/ls.c |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/ls.c b/src/ls.c
index ad33acc..ea35b17 100644
--- a/src/ls.c
+++ b/src/ls.c
@@ -4531,11 +4531,11 @@ colors, and can be set easily by the dircolors 
command.\n\
       fputs (_("\
 \n\
 Exit status:\n\
-0 if OK,\n\
-1 if minor problems (e.g., failure to access a file or directory not\n\
-  specified as a command line argument\n\
-2 if serious trouble (e.g., memory exhausted, invalid option or failure\n\
-  to access a file or directory specified as a command line argument).\n\
+ 0  if OK,\n\
+ 1  if minor problems (e.g., failure to access a file or directory not\n\
+    specified as a command line argument,\n\
+ 2  if serious trouble (e.g., memory exhausted, invalid option or failure\n\
+    to access a file or directory specified as a command line argument).\n\
 "), stdout);
       emit_bug_reporting_address ();
     }
--
1.6.0.2.514.g23abd3




reply via email to

[Prev in Thread] Current Thread [Next in Thread]