From 9e1b2105fb9b7454774a0414fa3f5958d79e8211 Mon Sep 17 00:00:00 2001 From: Aleksander Morgado Date: Mon, 19 Dec 2011 14:05:59 +0100 Subject: cli: default to showing modem info if no action specified --- cli/mmcli.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'cli/mmcli.c') diff --git a/cli/mmcli.c b/cli/mmcli.c index 49c7cab5..1bd7300c 100644 --- a/cli/mmcli.c +++ b/cli/mmcli.c @@ -220,7 +220,10 @@ main (gint argc, gchar **argv) else mmcli_manager_run_synchronous (connection); } - /* Modem options? */ + /* Modem options? + * NOTE: let this check be always the last one, as other groups also need + * having a modem specified, and therefore if -m is set, modem options + * are always enabled. */ else if (mmcli_modem_options_enabled ()) { if (async_flag) mmcli_modem_run_asynchronous (connection, cancellable); -- cgit v1.2.3-70-g09d2