[nautilus-sendto] Fix command-line help glitch

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
    nautilus-sendto [OPTION...] [FILES...] nautilus-sendto
    The second 'nautilus-sendto' here is redundant and confusing. With the
    patch below, it says just
    nautilus-sendto [OPTION...] [FILES...]
    which is the intended output

 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]