Tweak aliases for help/version to cover a couple of more cases

This commit is contained in:
baldurk
2016-08-25 21:07:40 +02:00
parent 5393d939fd
commit 6819f22181
+12
View File
@@ -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());