[nautilus-sendto] Fix command-line help glitch
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus-sendto] Fix command-line help glitch
- Date: Tue, 31 Aug 2010 15:51:29 +0000 (UTC)
commit c77339fdec3e6ea90e430fa30c190e317f7c9a9a
Author: Matthias Clasen <mclasen redhat com>
Date: Tue Aug 31 16:49:00 2010 +0100
Fix command-line help glitch
nautilus-sendo --help says
Usage:
nautilus-sendto [OPTION...] [FILES...] nautilus-sendto
The second 'nautilus-sendto' here is redundant and confusing. With the
patch below, it says just
Usage:
nautilus-sendto [OPTION...] [FILES...]
which is the intended output
https://bugzilla.gnome.org/show_bug.cgi?id=627849
src/nautilus-sendto-command.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/nautilus-sendto-command.c b/src/nautilus-sendto-command.c
index 9258af2..1d7ba72 100644
--- a/src/nautilus-sendto-command.c
+++ b/src/nautilus-sendto-command.c
@@ -671,7 +671,7 @@ int main (int argc, char **argv)
textdomain (GETTEXT_PACKAGE);
g_thread_init (NULL);
- context = g_option_context_new ("nautilus-sendto");
+ context = g_option_context_new ("");
g_option_context_add_main_entries (context, entries, GETTEXT_PACKAGE);
g_option_context_add_group (context, gtk_get_option_group (TRUE));
if (g_option_context_parse (context, &argc, &argv, &error) == FALSE) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]