summaryrefslogtreecommitdiff
path: root/src/bt-monitor.c
diff options
context:
space:
mode:
authorAlexander Orlenko <zxteam@gmail.com>2010-07-14 16:54:51 +1100
committerAlexander Orlenko <zxteam@gmail.com>2010-07-14 16:54:51 +1100
commit981f309514b9bf83b7adac94b7e5949264ad533b (patch)
tree6a792a9480104ada67a38687d28e6c9302846c62 /src/bt-monitor.c
parent4983869a78233a6bd04e4327db904569dd5cf613 (diff)
downloadbluez-tools-981f309514b9bf83b7adac94b7e5949264ad533b.tar.gz
Fixed summary && description messages
Added checking of interface existence to audio/input/network/serial tools
Diffstat (limited to 'src/bt-monitor.c')
-rw-r--r--src/bt-monitor.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/bt-monitor.c b/src/bt-monitor.c
index 83dc5a6..67853fc 100644
--- a/src/bt-monitor.c
+++ b/src/bt-monitor.c
@@ -254,7 +254,7 @@ static void release_device(Device *device)
}
static GOptionEntry entries[] = {
- {"adapter", 'a', 0, G_OPTION_ARG_STRING, &adapter_arg, "Adapter name or MAC", "adapter#id"},
+ {"adapter", 'a', 0, G_OPTION_ARG_STRING, &adapter_arg, "Adapter name or MAC", "<name|mac>"},
{NULL}
};
@@ -267,8 +267,8 @@ int main(int argc, char *argv[])
context = g_option_context_new("- a bluetooth monitor");
g_option_context_add_main_entries(context, entries, NULL);
- g_option_context_set_summary(context, "monitor summary");
- g_option_context_set_description(context, "monitor desc");
+ g_option_context_set_summary(context, "Version "PACKAGE_VERSION);
+ g_option_context_set_description(context, "Report bugs to <"PACKAGE_BUGREPORT">.");
if (!g_option_context_parse(context, &argc, &argv, &error)) {
g_print("%s: %s\n", g_get_prgname(), error->message);