Correct number of arguments check to run with debugger and device id

This commit is contained in:
Stewart Gleadow 2011-11-05 13:46:08 +11:00
parent 213c91fc1b
commit bc4fa28516

View File

@ -366,7 +366,7 @@ void device_callback(struct am_device_notification_callback_info *info, void *ar
}
int main(int argc, char *argv[]) {
if (argc < 2 || argc > 3) {
if (argc < 2 || argc > 4) {
printf("usage: %s [-d] <app> [device_id]\n", argv[0]);
exit(1);
}