Add "i" alias to info command.

This commit is contained in:
Nicolás A. Ortega Froysa 2024-10-11 16:15:00 +02:00
parent 1a590b477e
commit e92a578d65

View File

@ -36,7 +36,7 @@ static const std::map<enum cmd_id, std::vector<std::string>> commands = {
{ CMD_ADD, {"add", "new"} }, { CMD_ADD, {"add", "new"} },
{ CMD_LIST, {"list", "ls"} }, { CMD_LIST, {"list", "ls"} },
{ CMD_DEL, {"del", "rm"} }, { CMD_DEL, {"del", "rm"} },
{ CMD_INFO, { "info" } }, { CMD_INFO, {"info", "i"} },
{ CMD_HELP, {"help", "-h", "--help"} }, { CMD_HELP, {"help", "-h", "--help"} },
{ CMD_VERSION, {"version", "-v", "--version"} }, { CMD_VERSION, {"version", "-v", "--version"} },
}; };