[gnome-software] trivial: Fix specifying '--plugin-names=dummy' when using gnome-software-cmd
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software] trivial: Fix specifying '--plugin-names=dummy' when using gnome-software-cmd
- Date: Tue, 19 Apr 2016 14:36:11 +0000 (UTC)
commit cf1e244a4206d52586ea89e74c2cad27a319ad1c
Author: Richard Hughes <richard hughsie com>
Date: Tue Apr 19 14:57:30 2016 +0100
trivial: Fix specifying '--plugin-names=dummy' when using gnome-software-cmd
src/gs-cmd.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/gs-cmd.c b/src/gs-cmd.c
index f566fb3..cb60dcb 100644
--- a/src/gs-cmd.c
+++ b/src/gs-cmd.c
@@ -226,7 +226,7 @@ main (int argc, char **argv)
"Use this maximum cache age in seconds", NULL },
{ "prefer-local", '\0', 0, G_OPTION_ARG_NONE, &prefer_local,
"Prefer local file sources to AppStream", NULL },
- { "plugin-names", '\0', 0, G_OPTION_ARG_NONE, &plugin_names_str,
+ { "plugin-names", '\0', 0, G_OPTION_ARG_STRING, &plugin_names_str,
"Whitelist only these plugin names", NULL },
{ "verbose", '\0', 0, G_OPTION_ARG_NONE, &verbose,
"Show verbose debugging information", NULL },
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]