[gnome-software] Fixup commandline option
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software] Fixup commandline option
- Date: Tue, 20 Aug 2013 18:55:49 +0000 (UTC)
commit 1bf47162879dc7ee59c5ede5a9e3762e0692b98a
Author: Matthias Clasen <mclasen redhat com>
Date: Tue Aug 20 14:54:07 2013 -0400
Fixup commandline option
Since the --mode option takes an argument, lets give the argument
a description in the GOptionEntry. That makes it show up nicely
in the --help output.
src/gs-main.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/gs-main.c b/src/gs-main.c
index 25b6745..bfc4b5e 100644
--- a/src/gs-main.c
+++ b/src/gs-main.c
@@ -1719,7 +1719,7 @@ main (int argc, char **argv)
const GOptionEntry options[] = {
{ "mode", '\0', 0, G_OPTION_ARG_STRING, &mode,
- _("Start up mode, either 'updates', 'installed' or 'new'"), NULL },
+ _("Start up mode, either 'updates', 'installed' or 'new'"), _("MODE") },
{ NULL}
};
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]