diff options
author | Pali Rohár <pali.rohar@gmail.com> | 2012-08-08 18:11:26 +0200 |
---|---|---|
committer | Pali Rohár <pali.rohar@gmail.com> | 2012-08-08 18:11:26 +0200 |
commit | d10814e808da1df8bd02541d3bef86fadde518a9 (patch) | |
tree | 00d791b3f1e1d0e4745ccf039e09bc604e587c01 | |
parent | b5828692080d87255f5b12424cc205654f0240b2 (diff) | |
download | 0xFFFF-d10814e808da1df8bd02541d3bef86fadde518a9.tar.bz2 |
main: updated prepaired options
-rw-r--r-- | src/main.c | 15 |
1 files changed, 11 insertions, 4 deletions
@@ -149,9 +149,9 @@ void show_usage() "R&D flags:\n" " no-omap-wd disable auto reboot by OMAP watchdog\n" " no-ext-wd disable auto reboot by external watchdog\n" - " no-lifeguard-reset disable auto reboot by lifeguard\n" + " no-lifeguard-reset disable auto reboot by software lifeguard\n" " serial-console enable serial console\n" - " no-usb-timeout disable usb timeout\n" + " no-usb-timeout disable usb timeout for flashing\n" " sti-console enable sti console\n" " no-charging disable battery charging\n" " force-power-key force omap boot reason to power key\n" @@ -160,9 +160,16 @@ void show_usage() ); + printf( "Devices:\n"); + for ( i = 0; i < DEVICE_COUNT; ++i ) + if ( device_to_string(i) && device_to_long_string(i) ) + printf(" %-14s %s\n", device_to_string(i), device_to_long_string(i)); + printf( "\n"); + printf( "Image types:\n"); - for ( i = 0; image_types[i]; ++i ) - printf(" %-15s %s\n", image_types[i], image_desc[i]); + for ( i = 0; i < IMAGE_COUNT; ++i ) + if ( image_type_to_string(i) ) + printf(" %s\n", image_type_to_string(i)); printf( "\n"); #endif |