summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2022-05-01 20:12:12 +0200
committerGravatar Nikias Bassen2022-05-01 20:12:12 +0200
commit795af998e26894ede2245f6dd4d1ecd85478f4a2 (patch)
tree1f2831a9f2bc9a8d1741f05fb3a22ded2724ec5b /tools
parentcf2c7d48380969200034afeab93169e68c34c397 (diff)
downloadlibimobiledevice-795af998e26894ede2245f6dd4d1ecd85478f4a2.tar.gz
libimobiledevice-795af998e26894ede2245f6dd4d1ecd85478f4a2.tar.bz2
idevicebackup2: Fix command line option parsing not processing the backup directory
Diffstat (limited to 'tools')
-rw-r--r--tools/idevicebackup2.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/tools/idevicebackup2.c b/tools/idevicebackup2.c
index ec7eacd..8e53aaf 100644
--- a/tools/idevicebackup2.c
+++ b/tools/idevicebackup2.c
@@ -1610,11 +1610,9 @@ int main(int argc, char *argv[])
if (!strcmp(argv[0], "backup")) {
cmd = CMD_BACKUP;
- i = 1;
}
else if (!strcmp(argv[0], "restore")) {
cmd = CMD_RESTORE;
- i = 1;
}
else if (!strcmp(argv[0], "cloud")) {
cmd = CMD_CLOUD;