summaryrefslogtreecommitdiffstats
path: root/src/irecovery.c
diff options
context:
space:
mode:
authorGravatar Joshua Hill2010-05-14 16:40:51 -0400
committerGravatar Joshua Hill2010-05-14 16:40:51 -0400
commitebaf0a72d826a4c8f09d965cd2863d1848a999db (patch)
tree967b1a5e7abc5987e2bf4c5f4fcaeb93d606d42f /src/irecovery.c
parent6eb576e410695832ad29b93c7c2f3110495ca114 (diff)
downloadlibirecovery-ebaf0a72d826a4c8f09d965cd2863d1848a999db.tar.gz
libirecovery-ebaf0a72d826a4c8f09d965cd2863d1848a999db.tar.bz2
added irecv_send_buffer() to lib header and simplified some packet math
Diffstat (limited to 'src/irecovery.c')
-rw-r--r--src/irecovery.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/irecovery.c b/src/irecovery.c
index e9ecdea..ae828af 100644
--- a/src/irecovery.c
+++ b/src/irecovery.c
@@ -99,13 +99,13 @@ int main(int argc, char** argv) {
action = kStartShell;
break;
- case 'c':
- action = kSendCommand;
+ case 'f':
+ action = kSendFile;
argument = optarg;
break;
- case 'f':
- action = kSendFile;
+ case 'c':
+ action = kSendCommand;
argument = optarg;
break;