Loading cmds/bugreport/bugreport.cpp +2 −1 Original line number Diff line number Diff line Loading @@ -32,7 +32,8 @@ int main(int argc, char* /*argv*/[]) { fprintf(stderr, "WARNING: Flat (text file, non-zipped) bugreports are deprecated.\n"); fprintf(stderr, "WARNING: Please generate zipped bugreports instead.\n"); fprintf(stderr, "WARNING: On the host use: adb bugreport filename.zip\n"); fprintf(stderr, "WARNING: On the device use: bugreportz filename.zip\n"); fprintf(stderr, "WARNING: On the device use: bugreportz\n"); fprintf(stderr, "WARNING: bugreportz will output the filename to use with adb pull.\n"); fprintf(stderr, "=============================================================================\n\n\n"); if (argc != 1) { Loading cmds/bugreportz/main.cpp +7 −1 Original line number Diff line number Diff line Loading @@ -30,7 +30,7 @@ static constexpr char VERSION[] = "1.1"; static void show_usage() { fprintf(stderr, "usage: bugreportz [-h | -v]\n" "usage: bugreportz [-hpv]\n" " -h: to display this help message\n" " -p: display progress\n" " -v: to display the version\n" Loading Loading @@ -64,6 +64,12 @@ int main(int argc, char* argv[]) { } } // We don't support any non-option arguments. if (optind != argc) { show_usage(); return EXIT_FAILURE; } // TODO: code below was copy-and-pasted from bugreport.cpp (except by the // timeout value); // should be reused instead. Loading Loading
cmds/bugreport/bugreport.cpp +2 −1 Original line number Diff line number Diff line Loading @@ -32,7 +32,8 @@ int main(int argc, char* /*argv*/[]) { fprintf(stderr, "WARNING: Flat (text file, non-zipped) bugreports are deprecated.\n"); fprintf(stderr, "WARNING: Please generate zipped bugreports instead.\n"); fprintf(stderr, "WARNING: On the host use: adb bugreport filename.zip\n"); fprintf(stderr, "WARNING: On the device use: bugreportz filename.zip\n"); fprintf(stderr, "WARNING: On the device use: bugreportz\n"); fprintf(stderr, "WARNING: bugreportz will output the filename to use with adb pull.\n"); fprintf(stderr, "=============================================================================\n\n\n"); if (argc != 1) { Loading
cmds/bugreportz/main.cpp +7 −1 Original line number Diff line number Diff line Loading @@ -30,7 +30,7 @@ static constexpr char VERSION[] = "1.1"; static void show_usage() { fprintf(stderr, "usage: bugreportz [-h | -v]\n" "usage: bugreportz [-hpv]\n" " -h: to display this help message\n" " -p: display progress\n" " -v: to display the version\n" Loading Loading @@ -64,6 +64,12 @@ int main(int argc, char* argv[]) { } } // We don't support any non-option arguments. if (optind != argc) { show_usage(); return EXIT_FAILURE; } // TODO: code below was copy-and-pasted from bugreport.cpp (except by the // timeout value); // should be reused instead. Loading