Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 61b34199 authored by Abhijeet Kaur's avatar Abhijeet Kaur Committed by android-build-merger
Browse files

Merge "Remove redundant flag from dumpstate" am: a53145a6 am: ac672cd9 am: 4d105130

am: d159b1bb

Change-Id: I72d247c0b27e6d2b86e2dde535510a23c54e0189
parents e110e8d9 d159b1bb
Loading
Loading
Loading
Loading
+8 −9
Original line number Original line Diff line number Diff line
@@ -1796,22 +1796,21 @@ void Dumpstate::DumpstateBoard() {


static void ShowUsage() {
static void ShowUsage() {
    fprintf(stderr,
    fprintf(stderr,
            "usage: dumpstate [-h] [-b soundfile] [-e soundfile] [-o file] [-d] [-p] "
            "usage: dumpstate [-h] [-b soundfile] [-e soundfile] [-d] [-p] "
            "[-z]] [-s] [-S] [-q] [-B] [-P] [-R] [-V version]\n"
            "[-z]] [-s] [-S] [-q] [-B] [-P] [-R] [-V version]\n"
            "  -h: display this help message\n"
            "  -h: display this help message\n"
            "  -b: play sound file instead of vibrate, at beginning of job\n"
            "  -b: play sound file instead of vibrate, at beginning of job\n"
            "  -e: play sound file instead of vibrate, at end of job\n"
            "  -e: play sound file instead of vibrate, at end of job\n"
            "  -o: write to file (instead of stdout)\n"
            "  -d: append date to filename\n"
            "  -d: append date to filename (requires -o)\n"
            "  -p: capture screenshot to filename.png\n"
            "  -p: capture screenshot to filename.png (requires -o)\n"
            "  -z: generate zipped file\n"
            "  -z: generate zipped file (requires -o)\n"
            "  -s: write output to control socket (for init)\n"
            "  -s: write output to control socket (for init)\n"
            "  -S: write file location to control socket (for init; requires -o and -z)\n"
            "  -S: write file location to control socket (for init; requires -z)\n"
            "  -q: disable vibrate\n"
            "  -q: disable vibrate\n"
            "  -B: send broadcast when finished (requires -o)\n"
            "  -B: send broadcast when finished\n"
            "  -P: send broadcast when started and update system properties on "
            "  -P: send broadcast when started and update system properties on "
            "progress (requires -o and -B)\n"
            "progress (requires -B)\n"
            "  -R: take bugreport in remote mode (requires -o, -z, -d and -B, "
            "  -R: take bugreport in remote mode (requires -z, -d and -B, "
            "shouldn't be used with -P)\n"
            "shouldn't be used with -P)\n"
            "  -w: start binder service and make it wait for a call to startBugreport\n"
            "  -w: start binder service and make it wait for a call to startBugreport\n"
            "  -v: prints the dumpstate header and exit\n");
            "  -v: prints the dumpstate header and exit\n");