[gnote] Fix help for --start-here



commit cc5000b4e0db8967f033fc2154d3022540e106f6
Author: Aurimas Äernius <aurisc4 gmail com>
Date:   Sat Oct 1 23:11:21 2011 +0300

    Fix help for --start-here
    
    Command line option --start-here has no arguments,
    but --help shows otherwise.

 src/gnote.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/gnote.cpp b/src/gnote.cpp
index f1f6d60..593a5e8 100644
--- a/src/gnote.cpp
+++ b/src/gnote.cpp
@@ -456,7 +456,7 @@ namespace gnote {
         { "version", 0, 0, G_OPTION_ARG_NONE, &m_show_version, _("Print version information."), NULL },
         { "new-note", 0, G_OPTION_FLAG_OPTIONAL_ARG, G_OPTION_ARG_CALLBACK, (void*)GnoteCommandLine::parse_func, _("Create and display a new note, with a optional title."), _("title") },
         { "open-note", 0, 0, G_OPTION_ARG_STRING, &m_open_note, _("Display the existing note matching title."), _("title/url") },
-        { "start-here", 0, 0, G_OPTION_ARG_NONE, &m_open_start_here, _("Display the 'Start Here' note."), _("text") },
+        { "start-here", 0, 0, G_OPTION_ARG_NONE, &m_open_start_here, _("Display the 'Start Here' note."), NULL },
         { "highlight-search", 0, 0, G_OPTION_ARG_STRING, &m_highlight_search, _("Search and highlight text in the opened note."), _("text") },
         { NULL, 0, 0, (GOptionArg)0, NULL, NULL, NULL }
       };



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