diff options
| author | 2010-05-14 14:23:47 +0200 | |
|---|---|---|
| committer | 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 { | |||
| 28 | void print_usage() { | 28 | void print_usage() { |
| 29 | printf("iRecovery - iDevice Recovery Utility\n"); | 29 | printf("iRecovery - iDevice Recovery Utility\n"); |
| 30 | printf("Usage: ./irecovery [args]\n"); | 30 | printf("Usage: ./irecovery [args]\n"); |
| 31 | printf("\t-c <cmd>\tSend command to device.\n"); | ||
| 32 | printf("\t-d\t\tStart irecovery in debug mode.\n"); | ||
| 33 | printf("\t-f <file>\tSend file to device.\n"); | ||
| 34 | printf("\t-h\t\tShow this help.\n"); | ||
| 35 | printf("\t-r\t\tReset device.\n"); | ||
| 31 | exit(1); | 36 | exit(1); |
| 32 | } | 37 | } |
| 33 | 38 | ||
