aboutsummaryrefslogtreecommitdiff
path: root/frontend/cmd/help.cpp
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-10-30 14:48:02 +0100
committerLoek Le Blansch <loek@pipeframe.xyz>2024-10-30 14:48:02 +0100
commit6dfa3fb34fb0a2ea028fd46e77296e26b092fb99 (patch)
tree51257e54561550c91dbec262fe143d4dbe41f059 /frontend/cmd/help.cpp
parent862186ae7cbbd922057fa5f6b49509c36f9ade36 (diff)
use string instead of argument vector for commands
Diffstat (limited to 'frontend/cmd/help.cpp')
-rw-r--r--frontend/cmd/help.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/frontend/cmd/help.cpp b/frontend/cmd/help.cpp
index 1ae1fde..e614f28 100644
--- a/frontend/cmd/help.cpp
+++ b/frontend/cmd/help.cpp
@@ -1,7 +1,9 @@
#include "../print.h"
#include "../Player.h"
-FollowupAction Player::cmd_help(Argv argv) {
+using namespace std;
+
+FollowupAction Player::cmd_help(string &) {
lprtf("De beschikbare commando's zijn: ");
bool first = true;
for (auto & [ key, _ ] : this->cmds) {