Skip to content

Commit

Permalink
Merge pull request #59 from muhkuh-sys/dev_review_changes
Browse files Browse the repository at this point in the history
[code] remove default value for argument --sec_phase2 --sec_p2 from a…
  • Loading branch information
FrikadellenFred authored Oct 6, 2023
2 parents 77c4219 + 0cbda2b commit 99b9876
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions lua/usip_player.lua
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ tParserCommandUsip:flag('--disable_helper_signature_check')
-- ):target('fExtendExec')
-- todo add more help here
tParserCommandUsip:option('--sec'):description("Path to signed image directory"):target('strSecureOption'):default(tFlasher.DEFAULT_HBOOT_OPTION)
tParserCommandUsip:option('--sec_phase2 --sec_p2'):description(strHelpSecP2):target('strSecureOptionPhaseTwo'):default(tFlasher.DEFAULT_HBOOT_OPTION)
tParserCommandUsip:option('--sec_phase2 --sec_p2'):description(strHelpSecP2):target('strSecureOptionPhaseTwo')
tParserCommandUsip:flag('--no_reset'
):description('Skip the last reset after booting an USIP. Without the reset, verifying the content is also disabled.'
):target('fDisableReset'):default(false)
Expand Down Expand Up @@ -264,8 +264,7 @@ tParserCommandKek:flag('--disable_helper_signature_check')
-- ):target('fExtendExec')
tParserCommandKek:option('--sec'):description("Path to signed image directory"):target('strSecureOption'
):default(tFlasher.DEFAULT_HBOOT_OPTION)
tParserCommandKek:option('--sec_phase2 --sec_p2'):description(strHelpSecP2):target('strSecureOptionPhaseTwo'
):default(tFlasher.DEFAULT_HBOOT_OPTION)
tParserCommandKek:option('--sec_phase2 --sec_p2'):description(strHelpSecP2):target('strSecureOptionPhaseTwo')
tParserCommandKek:flag('--no_reset'
):description('Skip the last reset after booting an USIP. Without the reset, verifying the content is also disabled.'
):target('fDisableReset'):default(false)
Expand Down Expand Up @@ -1095,7 +1094,6 @@ function readSip(strHbootPath, tPlugin, strTmpFolderPath, atPluginOptions, strEx
local uLRetries = 5

local strPluginName = tPlugin:GetName()
local strPluginType = tPlugin:GetTyp()
local strReadSipData = tFlasherHelper.loadBin(strHbootPath)

if tArgs.strBootswitchParams ~= nil and tArgs.strBootswitchParams ~= "JTAG" then
Expand Down

0 comments on commit 99b9876

Please sign in to comment.