summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorElliott Hughes2018-05-24 18:36:05 -0500
committerElliott Hughes2018-05-24 20:30:58 -0500
commit07fc6828a854ec92fb8e12864125d7e6f4b79050 (patch)
treee7efa59210885ae0bcbf4d85787b3149f796f906
parent6e9289013560484e17b995dbe51bd4d3ba61ab34 (diff)
downloadplatform-system-core-07fc6828a854ec92fb8e12864125d7e6f4b79050.tar.gz
platform-system-core-07fc6828a854ec92fb8e12864125d7e6f4b79050.tar.xz
platform-system-core-07fc6828a854ec92fb8e12864125d7e6f4b79050.zip
Clarify 'fastboot flash' help.
Bug: http://b/80206492 Test: `fastboot --help` Change-Id: Idd4305628836eb0bcbcf3d217db0a9fc54a1d6d6
-rw-r--r--fastboot/fastboot.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/fastboot/fastboot.cpp b/fastboot/fastboot.cpp
index 649326280..5aa87d99e 100644
--- a/fastboot/fastboot.cpp
+++ b/fastboot/fastboot.cpp
@@ -316,7 +316,8 @@ static void syntax_error(const char* fmt, ...) {
316static int show_help() { 316static int show_help() {
317 // clang-format off 317 // clang-format off
318 fprintf(stdout, 318 fprintf(stdout,
319/* 1234567890123456789012345678901234567890123456789012345678901234567890123456 */ 319// 1 2 3 4 5 6 7 8
320// 12345678901234567890123456789012345678901234567890123456789012345678901234567890
320 "usage: fastboot [OPTION...] COMMAND...\n" 321 "usage: fastboot [OPTION...] COMMAND...\n"
321 "\n" 322 "\n"
322 "flashing:\n" 323 "flashing:\n"
@@ -324,8 +325,8 @@ static int show_help() {
324 " flashall Flash all partitions from $ANDROID_PRODUCT_OUT.\n" 325 " flashall Flash all partitions from $ANDROID_PRODUCT_OUT.\n"
325 " On A/B devices, flashed slot is set as active.\n" 326 " On A/B devices, flashed slot is set as active.\n"
326 " Secondary images may be flashed to inactive slot.\n" 327 " Secondary images may be flashed to inactive slot.\n"
327 " flash PARTITION [FILENAME]\n" 328 " flash PARTITION [FILENAME] Flash given partition, using the image from\n"
328 " Flash given partition only.\n" 329 " $ANDROID_PRODUCT_OUT if no filename is given.\n"
329 "\n" 330 "\n"
330 "basics:\n" 331 "basics:\n"
331 " devices [-l] List devices in bootloader (-l: with device paths).\n" 332 " devices [-l] List devices in bootloader (-l: with device paths).\n"