diff options
author | Nicolas Haunold | 2010-05-14 14:23:47 +0200 |
---|---|---|
committer | Nicolas Haunold | 2010-05-14 14:23:47 +0200 |
commit | 47d6d8f3289c705144629a2658079c4dae9fb0c3 (patch) | |
tree | 082ae53ac3c7b7f41a89ea601c168c5f7aa5ef5d /src | |
parent | a814b04770dc83774cd705d2fc8993f24e504a01 (diff) | |
download | libirecovery-47d6d8f3289c705144629a2658079c4dae9fb0c3.tar.gz libirecovery-47d6d8f3289c705144629a2658079c4dae9fb0c3.tar.bz2 |
added basic usage to print_usage().
Diffstat (limited to 'src')
-rw-r--r-- | src/irecovery.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/irecovery.c b/src/irecovery.c index 3091319..e2696d9 100644 --- a/src/irecovery.c +++ b/src/irecovery.c @@ -28,6 +28,11 @@ enum { void print_usage() { printf("iRecovery - iDevice Recovery Utility\n"); printf("Usage: ./irecovery [args]\n"); + printf("\t-c <cmd>\tSend command to device.\n"); + printf("\t-d\t\tStart irecovery in debug mode.\n"); + printf("\t-f <file>\tSend file to device.\n"); + printf("\t-h\t\tShow this help.\n"); + printf("\t-r\t\tReset device.\n"); exit(1); } |