On Mon, Sep 20, 2010 at 7:07 AM, <johan.hedberg@xxxxxxxxx> wrote: > +static void usage(void) > +{ > + int i; > + > + printf("hcictl - HCI Control ver %s\n", VERSION); hcictl -> hcimgmt > + printf("Usage:\n" > + "\thcictl [options] <command> [command parameters]\n"); > + printf("Options:\n" > + "\t--help\tDisplay help\n" > + "\t-i dev\tHCI device\n"); > + printf("Commands:\n"); > + for (i = 0; command[i].cmd; i++) > + printf("\t%-4s\t%s\n", command[i].cmd, > + command[i].doc); > + printf("\n" > + "For more information on the usage of each command use:\n" > + "\thcictl <command> --help\n" ); > +} -- Anderson Lizardo OpenBossa Labs - INdT Manaus - Brazil -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html