From 93c25b7846179c397a5316fb4fecb31ceff0ec2f Mon Sep 17 00:00:00 2001 From: Nikias Bassen Date: Thu, 9 Jun 2022 10:35:28 +0200 Subject: tools: Fix idevicebackup2 option parsing for --password option Thanks @EmilienCourt for pointing this out! --- tools/idevicebackup2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools') 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} }; -- cgit v1.1-32-gdbae