mirror of
git://projects.qi-hardware.com/ben-wpan.git
synced 2024-11-29 11:04:59 +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:
parent
4190aded8c
commit
a2f38c044e
@ -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);
|
||||
}
|
||||
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user