[gnome-software] trivial: Allow specifying 'all' for the refine flag in gnome-software-cmd
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software] trivial: Allow specifying 'all' for the refine flag in gnome-software-cmd
- Date: Fri, 31 Jan 2014 12:07:34 +0000 (UTC)
commit 5e0515fce407c8fa0c7f1567a810f8d3ce69c802
Author: Richard Hughes <richard hughsie com>
Date: Fri Jan 31 11:04:26 2014 +0000
trivial: Allow specifying 'all' for the refine flag in gnome-software-cmd
src/gs-cmd.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/gs-cmd.c b/src/gs-cmd.c
index b02aab8..bc14ced 100644
--- a/src/gs-cmd.c
+++ b/src/gs-cmd.c
@@ -113,6 +113,8 @@ gs_cmd_show_results_categories (GList *list)
static GsPluginRefineFlags
gs_cmd_refine_flag_from_string (const gchar *flag, GError **error)
{
+ if (g_strcmp0 (flag, "all") == 0)
+ return 0xffff;
if (g_strcmp0 (flag, "licence") == 0)
return GS_PLUGIN_REFINE_FLAGS_REQUIRE_LICENCE;
if (g_strcmp0 (flag, "url") == 0)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]