~martijnbraam/public-inbox

This thread contains a patchset. You're looking at the original emails, but you may wish to use the patch review UI. Review patch
1

[PATCH] List map in list of commands

Details
Message ID
<20201202051210.1155-1-j3s@c3f.net>
DKIM signature
missing
Download raw message
Patch: +1 -1
---
 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
Details
Message ID
<C7I250D87PB8.2QBYKA7IDY09I@monch>
In-Reply-To
<20201202051210.1155-1-j3s@c3f.net> (view parent)
DKIM signature
missing
Download raw message
Hm, I noticed that there are a few more undocumented commands, mind
documenting them as well?
Reply to thread Export thread (mbox)