@@ -2603,7 +2603,7 @@
static void static_addr_usage(void)
{
- printf("Usage: btmgmt static-addr <address>\n");
+ printf("Usage: btmgmt static-addr ??:??:??:??:??:??\n");
}
static void cmd_static_addr(struct mgmt *mgmt, uint16_t index,
@@ -2660,7 +2660,8 @@
struct mgmt_cp_set_public_address cp;
if (argc < 2) {
- printf("Usage: btmgmt public-addr <address>\n");
+ printf("Usage: btmgmt public-addr ??:??:??:??:??:??\n"
+ "Note: interface must be down for this to work\n");
exit(EXIT_FAILURE);
}
@@ -2934,7 +2935,7 @@
static void add_device_usage(void)
{
- printf("Usage: btmgmt add-device [-a action] [-t type] <address>\n");
+ printf("Usage: btmgmt add-device [-a action] [-t type] ??:??:??:??:??:??\n");
}
static struct option add_device_options[] = {
@@ -3007,7 +3008,7 @@
static void del_device_usage(void)
{
- printf("Usage: btmgmt del-device [-t type] <address>\n");
+ printf("Usage: btmgmt del-device [-t type] ??:??:??:??:??:??\n");
}
static struct option del_device_options[] = {
@@ -3153,7 +3154,7 @@
printf("\n"
"For more information on the usage of each command use:\n"
- "\tbtmgmt <command> --help\n" );
+ "\tbtmgmt <command>\n" );
}
static struct option main_options[] = {