show version in the help command
Some checks failed
vs2026-ci / Deploy release (push) Has been cancelled
vs2026-ci / win-amd64-build (debug, x64) (push) Has been cancelled
vs2026-ci / win-amd64-build (release, x64) (push) Has been cancelled

This commit is contained in:
sina 2026-10-07 15:44:39 +02:00
parent f165ff26bc
commit c3346c1853
2 changed files with 4 additions and 4 deletions

View file

@ -18,7 +18,7 @@
//////////////////////////////////////////////////
#define VERSION_MAJOR 0
#define VERSION_MINOR 24
#define VERSION_MINOR 25
#define VERSION_PATCH 0
#define BETA_VERSION FALSE

View file

@ -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;
}