mirror of
https://github.com/HyperDbg/HyperDbg.git
synced 2026-10-19 01:59:00 +00:00
show version in the help command
This commit is contained in:
parent
f165ff26bc
commit
c3346c1853
2 changed files with 4 additions and 4 deletions
|
|
@ -18,7 +18,7 @@
|
|||
//////////////////////////////////////////////////
|
||||
|
||||
#define VERSION_MAJOR 0
|
||||
#define VERSION_MINOR 24
|
||||
#define VERSION_MINOR 25
|
||||
#define VERSION_PATCH 0
|
||||
|
||||
#define BETA_VERSION FALSE
|
||||
|
|
|
|||
|
|
@ -944,7 +944,7 @@ HyperDbgInterpreter(CHAR * Command)
|
|||
if (!FirstCommand.compare(".help") || !FirstCommand.compare("help") ||
|
||||
!FirstCommand.compare(".hh") || !FirstCommand.compare("!help"))
|
||||
{
|
||||
if (Tokens.size() == 2)
|
||||
if (Tokens.size() >= 2)
|
||||
{
|
||||
//
|
||||
// Show that it's a help command
|
||||
|
|
@ -954,8 +954,8 @@ HyperDbgInterpreter(CHAR * Command)
|
|||
}
|
||||
else
|
||||
{
|
||||
ShowMessages("incorrect use of the '%s'\n\n",
|
||||
GetCaseSensitiveStringFromCommandToken(Tokens.at(0)).c_str());
|
||||
ShowMessages("\nHyperDbg [version: %s, build: %s]\n\n", CompleteVersion, BuildVersion);
|
||||
|
||||
CommandHelpHelp();
|
||||
return 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue