From 7f687774187ce9e1a7d8de9a1ce31a0790acfac5 Mon Sep 17 00:00:00 2001 From: alexia Date: Tue, 14 Feb 2023 21:54:51 +0100 Subject: [PATCH] Fix dfuhelper arg name in help and man page --- docs/palera1n.1 | 2 +- src/optparse.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/palera1n.1 b/docs/palera1n.1 index 01635be..7320dbd 100644 --- a/docs/palera1n.1 +++ b/docs/palera1n.1 @@ -110,7 +110,7 @@ When used with Create the new APFS volume required for rootful. Will fail if one already exists. .It Fl d , -demote Set the effective production fuse to 0, so as to enable hardware debugging features. -.It Fl D , -dfuhelper-only +.It Fl D , -dfuhelper Execute the DFU helper to guide the user into putting the device into DFU mode then exit. .It Fl e , -boot-args Ar boot arguments diff --git a/src/optparse.c b/src/optparse.c index 460acdc..a6c8095 100644 --- a/src/optparse.c +++ b/src/optparse.c @@ -70,7 +70,7 @@ static int usage(int e, char* prog_name) "\t-B, --setup-partial-fakefs\t\tSetup partial fakefs\n" "\t-c, --setup-fakefs\t\t\tSetup fakefs\n" "\t-d, --demote\t\t\t\tDemote\n" - "\t-D, --dfuhelper-only\t\t\tExit after entering DFU\n" + "\t-D, --dfuhelper\t\t\tExit after entering DFU\n" "\t-e, --boot-args \tXNU boot arguments\n" "\t-E, --enter-recovery\t\t\tEnter recovery mode\n" "\t-f, --fakefs \t\t\t\tBoots fakefs\n"