diff options
author | 2022-06-09 10:35:28 +0200 | |
---|---|---|
committer | 2022-06-09 10:35:28 +0200 | |
commit | 93c25b7846179c397a5316fb4fecb31ceff0ec2f (patch) | |
tree | f50364fdb53adf048759715dbe974dd96781647c | |
parent | 5b4ba89b1f86c9194a43a520b9b49faebffd784a (diff) | |
download | libimobiledevice-93c25b7846179c397a5316fb4fecb31ceff0ec2f.tar.gz libimobiledevice-93c25b7846179c397a5316fb4fecb31ceff0ec2f.tar.bz2 |
tools: Fix idevicebackup2 option parsing for --password option
Thanks @EmilienCourt for pointing this out!
-rw-r--r-- | tools/idevicebackup2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/idevicebackup2.c b/tools/idevicebackup2.c index be7a132..f2242d2 100644 --- a/tools/idevicebackup2.c +++ b/tools/idevicebackup2.c | |||
@@ -1521,7 +1521,7 @@ int main(int argc, char *argv[]) | |||
1521 | { "settings", no_argument, NULL, OPT_SETTINGS }, | 1521 | { "settings", no_argument, NULL, OPT_SETTINGS }, |
1522 | { "remove", no_argument, NULL, OPT_REMOVE }, | 1522 | { "remove", no_argument, NULL, OPT_REMOVE }, |
1523 | { "skip-apps", no_argument, NULL, OPT_SKIP_APPS }, | 1523 | { "skip-apps", no_argument, NULL, OPT_SKIP_APPS }, |
1524 | { "password", no_argument, NULL, OPT_PASSWORD }, | 1524 | { "password", required_argument, NULL, OPT_PASSWORD }, |
1525 | { "full", no_argument, NULL, OPT_FULL }, | 1525 | { "full", no_argument, NULL, OPT_FULL }, |
1526 | { NULL, 0, NULL, 0} | 1526 | { NULL, 0, NULL, 0} |
1527 | }; | 1527 | }; |