diff options
author | pancake <pancake@dazo> | 2008-03-07 00:20:45 +0100 |
---|---|---|
committer | pancake <pancake@dazo> | 2008-03-07 00:20:45 +0100 |
commit | edac98d26ee29bbdc3e16be8ecec5cbfff80482f (patch) | |
tree | 100f244d6a80590c3a7641b3dcdd452309c788d0 /src/main.c | |
parent | 83c25d7eb267f866968c7806c4afacf00fdfead5 (diff) | |
download | 0xFFFF-edac98d26ee29bbdc3e16be8ecec5cbfff80482f.tar.bz2 |
* Shift doc/faq to doc/faq20.3.9
* Add 'doc/faq' with most used commands
* -e can be used with -u to specify the path to extract the files
* Remove gui directory
- GUI source is in src/gui
- Incrusted inside the build and install targets
(ignores build and install errors)
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -75,7 +75,7 @@ void show_usage() printf(" -f <flags> set the given RD flags (see '-f help')\n"); printf(" -i show device information (let standby mode)\n"); printf(" -l list supported usb device ids\n"); - printf(" -p [[p%%]file] piece-of-firmware %% file-where-this-piece-is\n"); + printf(" -p [[p%%]file] piece-of-firmware %% file-where-this-piece-is\n"); printf(" -r [0|1] disable/enable R&D mode\n"); printf(" -R reboot the omap board\n"); printf(" -U [0|1] disable/enable the usb host mode\n"); @@ -87,7 +87,7 @@ void show_usage() printf(" -s [serial] serial port console (minicom like terminal)\n"); printf(" -h show this help message\n"); printf(" -C [/dev/mtd] check bad blocks on mtd\n"); - printf(" -e [path] dump and extract pieces to path\n"); + printf(" -e [path] dump/extract pieces to path\n"); printf(" -F [fiasco] flash a fiasco firmware image\n"); printf(" -H [file] calculate hash for file\n"); printf(" -I [piece] identify a firmware piece\n"); @@ -328,6 +328,8 @@ int main(int argc, char **argv) } if (unpack) { + if (reverseto) + chdir(reverseto); unpack_fiasco_image(fiasco_image); return 0; } |