We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2b75e5e + 60d5015 commit ad0f060Copy full SHA for ad0f060
src/commands.c
@@ -5,13 +5,13 @@
5
6
#include "util.h"
7
8
-static const char* quit_matches[] = {"quit"};
9
-static const char* help_matches[] = {"help"};
+static const char* quit_matches[] = {"quit", "q"};
+static const char* help_matches[] = {"help", "?"};
10
11
static void print_commands_help() {
12
puts(" Commands available:\n");
13
- puts(" :quit \tExit laco");
14
- puts(" :help \tDisplay this list of commands");
+ puts(" :quit, :q \tExit laco");
+ puts(" :help, :? \tDisplay this list of commands");
15
}
16
17
static inline bool is_quit(const char* command) {
0 commit comments