summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2022-06-09 10:35:28 +0200
committerGravatar Nikias Bassen2022-06-09 10:35:28 +0200
commit93c25b7846179c397a5316fb4fecb31ceff0ec2f (patch)
treef50364fdb53adf048759715dbe974dd96781647c /tools
parent5b4ba89b1f86c9194a43a520b9b49faebffd784a (diff)
downloadlibimobiledevice-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.c2
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}
};