diff options
-rw-r--r-- | adb/commandline.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/adb/commandline.c b/adb/commandline.c index 2f429ef..8781081 100644 --- a/adb/commandline.c +++ b/adb/commandline.c @@ -951,10 +951,8 @@ top: } if(!strcmp(argv[0], "bugreport")) { - if (argc != 1) { - return 1; - } - do_cmd(ttype, serial, "shell", "dumpstate", "-", 0); + if (argc != 1) return usage(); + do_cmd(ttype, serial, "shell", "bugreport", 0); return 0; } |