Subject: bug#10079: closed (Re: bug#10079: [PATCH] ln: fix position of --backup values description)

From: [email-masked] (GNU bug Tracking System)
Date: Sun, 20 Nov 2011 07:54:02 +0000

Your bug report

#10079: [PATCH] ln: fix position of --backup values description

which was filed against the coreutils package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
10079: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=10079
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#10079: [PATCH] ln: fix position of --backup values description
From: Jim Meyering <[email-masked]>
To: Erik Auerswald <[email-masked]>
Cc: [email-masked]
Date: Sun, 20 Nov 2011 08:52:04 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

Erik Auerswald wrote:
...
> Subject: [PATCH] ln: fix position of --backup values description
>
> * src/ln.c (usage): A paragraph describing interactions of -s
> with -L and -P somehow snuck in between the description of the
> --backup option and the values used to control it. Fix this by
> moving the value description up.

Well spotted.  Thanks!
Applied verbatim and pushed.

Subject: [PATCH] ln: fix position of --backup values description
From: Erik Auerswald <[email-masked]>
To: [email-masked]
Date: Sat, 19 Nov 2011 22:24:35 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

>From a8b44ddbfa9b1e75dbaabbe69bb535ed045fbf0a Mon Sep 17 00:00:00 2001
From: Erik Auerswald <[email-masked]>
Date: Sat, 19 Nov 2011 22:07:29 +0100
Subject: [PATCH] ln: fix position of --backup values description

* src/ln.c (usage): A paragraph describing interactions of -s
with -L and -P somehow snuck in between the description of the
--backup option and the values used to control it. Fix this by
moving the value description up.
---
 src/ln.c |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/ln.c b/src/ln.c
index 3e63bea..88737ed 100644
--- a/src/ln.c
+++ b/src/ln.c
@@ -385,17 +385,17 @@ The version control method may be selected via the --backup option or through\n\
 the VERSION_CONTROL environment variable.  Here are the values:\n\
 \n\
 "), stdout);
-      printf (_("\
-Using -s ignores -L and -P.  Otherwise, the last option specified controls\n\
-behavior when the source is a symbolic link, defaulting to %s.\n\
-\n\
-"), LINK_FOLLOWS_SYMLINKS ? "-L" : "-P");
       fputs (_("\
   none, off       never make backups (even if --backup is given)\n\
   numbered, t     make numbered backups\n\
   existing, nil   numbered if numbered backups exist, simple otherwise\n\
   simple, never   always make simple backups\n\
+\n\
 "), stdout);
+      printf (_("\
+Using -s ignores -L and -P.  Otherwise, the last option specified controls\n\
+behavior when the source is a symbolic link, defaulting to %s.\n\
+"), LINK_FOLLOWS_SYMLINKS ? "-L" : "-P");
       emit_ancillary_info ();
     }
   exit (status);
-- 
1.7.7.3