#462 Added for click

This commit is contained in:
michaelangel007 2017-08-25 07:36:31 -07:00
parent be41616359
commit 1612269093

View File

@ -1085,10 +1085,12 @@ Update_t CmdHelpSpecific (int nArgs)
{
ConsoleColorizePrint( sText, " Note: All arguments effect the disassembly view" );
ConsoleColorizePrintFormat( sTemp, sText, " Usage: [%s%s | %s%s | %s%s | %s%s | %s%s]"
ConsoleColorizePrintFormat( sTemp, sText, " Usage: [%s%s | %s | %s%s | %s%s | %s%s | %s%s]"
, CHC_COMMAND
, g_aParameters[ PARAM_CONFIG_BRANCH ].m_sName
, CHC_COMMAND
, g_aParameters[ PARAM_CONFIG_CLICK ].m_sName
, CHC_COMMAND
, g_aParameters[ PARAM_CONFIG_COLON ].m_sName
, CHC_COMMAND
, g_aParameters[ PARAM_CONFIG_OPCODE ].m_sName
@ -1105,6 +1107,23 @@ Update_t CmdHelpSpecific (int nArgs)
DISASM_BRANCH_OFF, DISASM_BRANCH_PLAIN, DISASM_BRANCH_FANCY );
ConsolePrintFormat( sText, " i.e. %s%s %s 1", CHC_EXAMPLE, pCommand->m_sName, g_aParameters[ iParam ].m_sName );
iParam = PARAM_CONFIG_CLICK;
ConsoleColorizePrintFormat( sTemp, sText, " Usage: %s [#]", g_aParameters[ iParam ].m_sName );
ConsoleBufferPush( " Set required key combo. (Alt, Control, or Shift) when left clicking" );
ConsoleBufferPushFormat( sText, " 0 Left-Click (no Alt, Ctrl, Shift)" );
ConsoleBufferPushFormat( sText, " 1 Alt Left-click" );
ConsoleBufferPushFormat( sText, " 2 Ctrl Left-click" );
ConsoleBufferPushFormat( sText, " 3 Alt+Ctrl Left-click" );
ConsoleBufferPushFormat( sText, " 4 Shift Left-click" );
ConsoleBufferPushFormat( sText, " 5 Shift+Alt Left-click" );
ConsoleBufferPushFormat( sText, " 6 Shift+Ctrl Left-click" );
ConsoleBufferPushFormat( sText, " 7 Shift+Ctrl+Alt Left-click" );
Help_Examples();
ConsolePrintFormat( sText, " %s%s %s 0 // Plain Left-click" , CHC_EXAMPLE, pCommand->m_sName, g_aParameters[ iParam ].m_sName );
ConsolePrintFormat( sText, " %s%s %s 1 // Require Alt Left-click" , CHC_EXAMPLE, pCommand->m_sName, g_aParameters[ iParam ].m_sName );
ConsolePrintFormat( sText, " %s%s %s 2 // Require Ctrl Left-click" , CHC_EXAMPLE, pCommand->m_sName, g_aParameters[ iParam ].m_sName );
ConsolePrintFormat( sText, " %s%s %s 3 // Require Alt+Ctrl Left-click", CHC_EXAMPLE, pCommand->m_sName, g_aParameters[ iParam ].m_sName );
iParam = PARAM_CONFIG_COLON;
ConsoleColorizePrintFormat( sTemp, sText, " Usage: %s [0|1]", g_aParameters[ iParam ].m_sName );
ConsoleBufferPush( " Display a colon after the address" );