diff options
author | Martin Szulecki | 2010-07-09 15:17:52 +0200 |
---|---|---|
committer | Martin Szulecki | 2010-07-09 15:17:52 +0200 |
commit | 15010f466a4a6437b5c46a37625386565e1e5091 (patch) | |
tree | 65adf20d125c9af6eb25ade2fa6cdc494b858ce1 /src | |
parent | 4090b98d9e8cdaada701ac320e20f7c8b0cf88f6 (diff) | |
download | idevicerestore-15010f466a4a6437b5c46a37625386565e1e5091.tar.gz idevicerestore-15010f466a4a6437b5c46a37625386565e1e5091.tar.bz2 |
Correctly assign the client flags from command line
Diffstat (limited to 'src')
-rw-r--r-- | src/idevicerestore.c | 8 |
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': |