[pacman-dev] [PATCH] Add a couple of missing commas to help messages

Roman Kyrylych roman.kyrylych at gmail.com
Mon Aug 25 10:46:16 EDT 2008


2008/8/25 Xavier <shiningxc at gmail.com>:
> On Mon, Aug 25, 2008 at 4:25 PM, Roman Kyrylych
> <roman.kyrylych at gmail.com> wrote:
>> Hi!
>>
>> Here's a fix for cosmethic bugs I found during translating pacman.
>>
>
> Hello,
>
> you are supposed to edit the code, in this case pacman.c, never
> pacman.pot directly :) The pot file is automatically generated from
> the code.
> Since these are cosmetic, I guess I will be able to fix all
> translations this evening for 3.2.1.
> Just resubmit a valid patch :)

Doh! Silly me. :-D

I've found that comma is not used between { } in pacman --help,
so I've only added missing comma to -S --help message.


From a558e0c1347210426bc60eeaa508bff3a2247885 Mon Sep 17 00:00:00 2001
From: Roman Kyrylych <roman at vostro.localdomain>
Date: Mon, 25 Aug 2008 17:43:41 +0300
Subject: [PATCH] Add missing comma to -S --help message

Signed-off-by: Roman Kyrylych <roman at vostro.localdomain>
---
 src/pacman/pacman.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/pacman/pacman.c b/src/pacman/pacman.c
index 83e713a..155f8da 100644
--- a/src/pacman/pacman.c
+++ b/src/pacman/pacman.c
@@ -134,7 +134,7 @@ static void usage(int op, const char * const myname)
 			printf(_("      --ignore <pkg>   ignore a package upgrade (can be
used more than once)\n"));
 			printf(_("      --ignoregroup <grp>\n"
 			         "                       ignore a group upgrade (can be
used more than once)\n"));
-			printf(_("  -q  --quiet          show less information for query
and search\n"));
+			printf(_("  -q, --quiet          show less information for query
and search\n"));
 		}
 		printf(_("      --config <path>  set an alternate configuration file\n"));
 		printf(_("      --logfile <path> set an alternate log file\n"));
-- 
1.6.0

-- 
Roman Kyrylych (Роман Кирилич)


More information about the pacman-dev mailing list