diff options
author | Alexander Orlenko <zxteam@gmail.com> | 2010-07-14 16:54:51 +1100 |
---|---|---|
committer | Alexander Orlenko <zxteam@gmail.com> | 2010-07-14 16:54:51 +1100 |
commit | 981f309514b9bf83b7adac94b7e5949264ad533b (patch) | |
tree | 6a792a9480104ada67a38687d28e6c9302846c62 /src/bt-monitor.c | |
parent | 4983869a78233a6bd04e4327db904569dd5cf613 (diff) | |
download | bluez-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.c | 6 |
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); |