summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGravatar Nicolas Haunold2010-05-14 14:23:47 +0200
committerGravatar Nicolas Haunold2010-05-14 14:23:47 +0200
commit47d6d8f3289c705144629a2658079c4dae9fb0c3 (patch)
tree082ae53ac3c7b7f41a89ea601c168c5f7aa5ef5d /src
parenta814b04770dc83774cd705d2fc8993f24e504a01 (diff)
downloadlibirecovery-47d6d8f3289c705144629a2658079c4dae9fb0c3.tar.gz
libirecovery-47d6d8f3289c705144629a2658079c4dae9fb0c3.tar.bz2
added basic usage to print_usage().
Diffstat (limited to 'src')
-rw-r--r--src/irecovery.c5
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);
}