diff options
author | Nikias Bassen | 2022-05-01 20:12:12 +0200 |
---|---|---|
committer | Nikias Bassen | 2022-05-01 20:12:12 +0200 |
commit | 795af998e26894ede2245f6dd4d1ecd85478f4a2 (patch) | |
tree | 1f2831a9f2bc9a8d1741f05fb3a22ded2724ec5b | |
parent | cf2c7d48380969200034afeab93169e68c34c397 (diff) | |
download | libimobiledevice-795af998e26894ede2245f6dd4d1ecd85478f4a2.tar.gz libimobiledevice-795af998e26894ede2245f6dd4d1ecd85478f4a2.tar.bz2 |
idevicebackup2: Fix command line option parsing not processing the backup directory
-rw-r--r-- | tools/idevicebackup2.c | 2 |
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; |