feat: Added separate --version-short command

This commit is contained in:
WerWolv
2025-02-07 15:46:11 +01:00
parent ed6da7fe14
commit e63606f6bb
3 changed files with 15 additions and 11 deletions

View File

@@ -64,6 +64,7 @@ namespace hex::plugin::builtin {
IMHEX_PLUGIN_SUBCOMMANDS() {
{ "help", "h", "Print help about this command", hex::plugin::builtin::handleHelpCommand },
{ "version", "", "Print ImHex version", hex::plugin::builtin::handleVersionCommand },
{ "version-short", "", "Print only the version info in plain text", hex::plugin::builtin::handleVersionShortCommand },
{ "plugins", "", "Lists all plugins that have been installed", hex::plugin::builtin::handlePluginsCommand },
{ "language", "", "Changes the language ImHex uses", hex::plugin::builtin::handleLanguageCommand },
{ "verbose", "v", "Enables verbose debug logging", hex::plugin::builtin::handleVerboseCommand },