summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Martin Szulecki2010-07-09 15:17:52 +0200
committerGravatar Martin Szulecki2010-07-09 15:17:52 +0200
commit15010f466a4a6437b5c46a37625386565e1e5091 (patch)
tree65adf20d125c9af6eb25ade2fa6cdc494b858ce1
parent4090b98d9e8cdaada701ac320e20f7c8b0cf88f6 (diff)
downloadidevicerestore-15010f466a4a6437b5c46a37625386565e1e5091.tar.gz
idevicerestore-15010f466a4a6437b5c46a37625386565e1e5091.tar.bz2
Correctly assign the client flags from command line
-rw-r--r--src/idevicerestore.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/idevicerestore.c b/src/idevicerestore.c
index 7982ed7..b5d4858 100644
--- a/src/idevicerestore.c
+++ b/src/idevicerestore.c
@@ -81,20 +81,20 @@ int main(int argc, char* argv[]) {
return 0;
case 'd':
- client->flags &= FLAG_DEBUG;
+ client->flags |= FLAG_DEBUG;
idevicerestore_debug = 1;
break;
case 'e':
- client->flags &= FLAG_ERASE;
+ client->flags |= FLAG_ERASE;
break;
case 'c':
- client->flags &= FLAG_CUSTOM;
+ client->flags |= FLAG_CUSTOM;
break;
case 'x':
- client->flags &= FLAG_EXCLUDE;
+ client->flags |= FLAG_EXCLUDE;
break;
case 'u':