mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-08-28 09:26:52 +00:00
Tweak aliases for help/version to cover a couple of more cases
This commit is contained in:
@@ -548,12 +548,24 @@ int renderdoccmd(std::vector<std::string> &argv)
|
||||
{
|
||||
// add basic commands, and common aliases
|
||||
add_command("version", new VersionCommand());
|
||||
|
||||
add_alias("--version", "version");
|
||||
add_alias("-v", "version");
|
||||
// for windows
|
||||
add_alias("/version", "version");
|
||||
add_alias("/v", "version");
|
||||
|
||||
add_command("help", new HelpCommand());
|
||||
|
||||
add_alias("--help", "help");
|
||||
add_alias("-h", "help");
|
||||
add_alias("-?", "help");
|
||||
|
||||
// for windows
|
||||
add_alias("/help", "help");
|
||||
add_alias("/h", "help");
|
||||
add_alias("/?", "help");
|
||||
|
||||
// add platform agnostic commands
|
||||
add_command("thumb", new ThumbCommand());
|
||||
add_command("capture", new CaptureCommand());
|
||||
|
||||
Reference in New Issue
Block a user