From 16f2b7bdb8ffdb84e7bd142bde91c7670c63a3e7 Mon Sep 17 00:00:00 2001 From: Aleksander Morgado Date: Wed, 21 Dec 2011 13:05:25 +0100 Subject: cli: specify common options in a new group Actions on modems from specific interfaces, like 3GPP, will also need the modem to be specified. The new 'Common' option group will handle all options to specify objects. --- cli/mmcli.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'cli/mmcli.c') diff --git a/cli/mmcli.c b/cli/mmcli.c index a91f7cfe..a7c9072a 100644 --- a/cli/mmcli.c +++ b/cli/mmcli.c @@ -32,6 +32,7 @@ #include #include "mmcli.h" +#include "mmcli-common.h" #define PROGRAM_NAME "mmcli" #define PROGRAM_VERSION PACKAGE_VERSION @@ -177,6 +178,8 @@ main (gint argc, gchar **argv) context = g_option_context_new ("- Control and monitor the ModemManager"); g_option_context_add_group (context, mmcli_manager_get_option_group ()); + g_option_context_add_group (context, + mmcli_get_common_option_group ()); g_option_context_add_group (context, mmcli_modem_get_option_group ()); g_option_context_add_group (context, -- cgit v1.2.3-70-g09d2