1
0
mirror of git://projects.qi-hardware.com/ben-wpan.git synced 2024-11-25 21:30:37 +02:00

tools/: two small usage fixes

- atrf-id/atrf-id.c (usage): options were before the program name
- atrf-rssi/atrf-rssi.c (usage): the driver option was missing the "[-d"
This commit is contained in:
Werner Almesberger 2011-04-10 11:28:16 -03:00
parent 4190aded8c
commit a2f38c044e
2 changed files with 2 additions and 2 deletions

View File

@ -158,7 +158,7 @@ static void show_info(struct atrf_dsc *dsc)
static void usage(const char *name)
{
fprintf(stderr, "usage: [-d driver[:arg]] %s\n", name);
fprintf(stderr, "usage: %s [-d driver[:arg]]\n", name);
exit(1);
}

View File

@ -68,7 +68,7 @@ static void usage(const char *name)
#ifdef HAVE_GFX
fprintf(stderr,
"%6s %s driver[:arg]] -g\n", "", name);
"%6s %s [-d driver[:arg]] -g\n", "", name);
#endif
exit(1);