[gnome-software] Document the new --mode=updated option



commit ddc53b02c4736d9e5c3f7ff387fff13a27aa80d7
Author: Matthias Clasen <mclasen redhat com>
Date:   Thu Sep 12 21:22:20 2013 -0400

    Document the new --mode=updated option
    
    This was missing from both the --help output and the man page.

 src/gnome-software.xml |    2 +-
 src/gs-application.c   |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/gnome-software.xml b/src/gnome-software.xml
index d26f223..5f87829 100644
--- a/src/gnome-software.xml
+++ b/src/gnome-software.xml
@@ -61,7 +61,7 @@
       </varlistentry>
       <varlistentry>
         <term><option>--mode</option> <replaceable>MODE</replaceable></term>
-        <listitem><para>Starts gnome-software in the given mode. <replaceable>MODE</replaceable> can be 
'updates', 'installed' or 'overview'.</para></listitem>
+        <listitem><para>Starts gnome-software in the given mode. <replaceable>MODE</replaceable> can be 
'updates', 'updated', 'installed' or 'overview'. The default mode is 'overview'.</para></listitem>
       </varlistentry>
     </variablelist>
   </refsect1>
diff --git a/src/gs-application.c b/src/gs-application.c
index af69304..0b00e8d 100644
--- a/src/gs-application.c
+++ b/src/gs-application.c
@@ -211,7 +211,7 @@ gs_application_command_line (GApplication        *application,
        const GOptionEntry options[] = {
                { "mode", '\0', 0, G_OPTION_ARG_STRING, &mode,
                  /* TRANSLATORS: this is a command line option */
-                 _("Start up mode, either 'updates', 'installed' or 'overview'"), _("MODE") },
+                 _("Start up mode, either 'updates', 'updated', 'installed' or 'overview'"), _("MODE") },
                { "verbose", 'v', 0, G_OPTION_ARG_NONE, &verbose, NULL, NULL },
                { "help", '?', 0, G_OPTION_ARG_NONE, &help, NULL, NULL },
 


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