diff options
author | Aleksander Morgado <aleksander@lanedo.com> | 2011-12-21 13:05:25 +0100 |
---|---|---|
committer | Aleksander Morgado <aleksander@lanedo.com> | 2012-03-15 14:14:36 +0100 |
commit | 16f2b7bdb8ffdb84e7bd142bde91c7670c63a3e7 (patch) | |
tree | 4b550a6713e540db2baa01b5f3e67a70a7c1a994 /cli/mmcli.c | |
parent | 265a516f42a0ff8d2b421aa199e54d779f0c153f (diff) |
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.
Diffstat (limited to 'cli/mmcli.c')
-rw-r--r-- | cli/mmcli.c | 3 |
1 files changed, 3 insertions, 0 deletions
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 <libmm-glib.h> #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, |