~martijnbraam/public-inbox

List map in list of commands v1 PROPOSED

j3s: 1
 List map in list of commands

 1 files changed, 1 insertions(+), 1 deletions(-)
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.sr.ht/~martijnbraam/public-inbox/patches/15422/mbox | git am -3
Learn more about email & git

[PATCH] List map in list of commands Export this patch

---
 main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/main.c b/main.c
index 18b4c1a..8a6e28a 100644
--- a/main.c
+++ b/main.c
@@ -1004,7 +1004,7 @@ adventure(size_t pid, char *input)
		return;
	} else if (strcmp(input, "help") == 0) {

		snprintf(buf, sizeof(buf), "Commands: help, examine room, go [room], murder crewmate, report, check tasks");
		snprintf(buf, sizeof(buf), "Commands: help, map, examine room, go [room], murder crewmate, report, check tasks");
		write(players[pid].fd, buf, strlen(buf));
		switch (players[pid].location) {
			case LOC_CAFETERIA:
-- 
2.29.2
Hm, I noticed that there are a few more undocumented commands, mind
documenting them as well?