diff options
author | Nikias Bassen | 2022-06-09 10:35:28 +0200 |
---|---|---|
committer | Nikias Bassen | 2022-06-09 10:35:28 +0200 |
commit | 93c25b7846179c397a5316fb4fecb31ceff0ec2f (patch) | |
tree | f50364fdb53adf048759715dbe974dd96781647c /tools | |
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!
Diffstat (limited to 'tools')
-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[]) { "settings", no_argument, NULL, OPT_SETTINGS }, { "remove", no_argument, NULL, OPT_REMOVE }, { "skip-apps", no_argument, NULL, OPT_SKIP_APPS }, - { "password", no_argument, NULL, OPT_PASSWORD }, + { "password", required_argument, NULL, OPT_PASSWORD }, { "full", no_argument, NULL, OPT_FULL }, { NULL, 0, NULL, 0} }; |