From 47d6d8f3289c705144629a2658079c4dae9fb0c3 Mon Sep 17 00:00:00 2001 From: Nicolas Haunold Date: Fri, 14 May 2010 14:23:47 +0200 Subject: added basic usage to print_usage(). --- src/irecovery.c | 5 +++++ 1 file changed, 5 insertions(+) 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 \tSend command to device.\n"); + printf("\t-d\t\tStart irecovery in debug mode.\n"); + printf("\t-f \tSend file to device.\n"); + printf("\t-h\t\tShow this help.\n"); + printf("\t-r\t\tReset device.\n"); exit(1); } -- cgit v1.1-32-gdbae