Skip to content

Commit 4206d15

Browse files
committed
add documentation for reboot --diagnostic option
1 parent 25aa087 commit 4206d15

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1477,7 +1477,7 @@ struct reboot_command : public cmd {
14771477
(
14781478
option('a', "--application").set(settings.reboot_app_specified) % "Reboot back into the application (this is the default)" +
14791479
option('u', "--usb").set(settings.reboot_usb) % "Reboot back into BOOTSEL mode" +
1480-
(option('g', "--diagnostic") & integer("partition").min_value(-3).max_value(15).set(settings.reboot_diagnostic_partition)).min(0) +
1480+
(option('g', "--diagnostic") & integer("partition").min_value(-3).max_value(15).set(settings.reboot_diagnostic_partition)).min(0) % "Select diagnostic partition" +
14811481
(option('c', "--cpu") & value("cpu").set(settings.switch_cpu)) % "Select arm | riscv CPU (if possible)"
14821482
).min(0).doc_non_optional(true) % "Reboot type" +
14831483
device_selection % "Selecting the device to reboot";

0 commit comments

Comments
 (0)