Merge pull request #1255 from dl8dtl/add_q_terminal_command

Add a "q" command to the terminal
This commit is contained in:
Stefan Rueger 2023-01-02 14:28:49 +00:00 committed by GitHub
commit 8d8157bf8b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -107,7 +107,8 @@ struct command cmd[] = {
{ "quell", cmd_quell, _fo(open), "set quell level for progress bars" }, { "quell", cmd_quell, _fo(open), "set quell level for progress bars" },
{ "help", cmd_help, _fo(open), "show help message" }, { "help", cmd_help, _fo(open), "show help message" },
{ "?", cmd_help, _fo(open), "same as help" }, { "?", cmd_help, _fo(open), "same as help" },
{ "quit", cmd_quit, _fo(open), "quit after writing out cache for flash & EEPROM" } { "quit", cmd_quit, _fo(open), "quit after writing out cache for flash & EEPROM" },
{ "q", cmd_quit, _fo(open), "abbreviation for quit" },
}; };
#define NCMDS ((int)(sizeof(cmd)/sizeof(struct command))) #define NCMDS ((int)(sizeof(cmd)/sizeof(struct command)))