Skip to content

Commit

Permalink
fix patch option --root-skey
Browse files Browse the repository at this point in the history
  • Loading branch information
bmax committed Oct 24, 2024
1 parent 9ba7e3d commit 4a62873
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/kptools.c
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ void print_usage(char **argv)
" -i, --image PATH Kernel image path.\n"
" -k, --kpimg PATH KernelPatch image path.\n"
" -s, --skey KEY Set the superkey and save it directly in the boot.img.\n"
" -S, --root-skey KEY Set the root-superkey that uses hash verification, and the superkey can be changed dynamically.\n"
" -S, --root-skey KEY Set the root-superkey useing hash verification, and the superkey can be changed dynamically.\n"
" -o, --out PATH Patched image path.\n"
" -a --addition KEY=VALUE Add additional information.\n"

Expand Down Expand Up @@ -87,7 +87,7 @@ int main(int argc, char *argv[])
{ "image", required_argument, NULL, 'i' },
{ "kpimg", required_argument, NULL, 'k' },
{ "skey", required_argument, NULL, 's' },
{ "skey-hash", required_argument, NULL, 'S' },
{ "root-skey", required_argument, NULL, 'S' },
{ "out", required_argument, NULL, 'o' },
{ "addition", required_argument, NULL, 'a' },

Expand Down

0 comments on commit 4a62873

Please sign in to comment.