From ad7020be20e6f59b22ed0d05d3b3efd40a37cc3e Mon Sep 17 00:00:00 2001 From: Anders Jenbo Date: Mon, 26 Jun 2023 18:26:31 +0200 Subject: [PATCH] Change syntax for optional and required arguments to match various CLI tools --- Source/control.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Source/control.cpp b/Source/control.cpp index 4944cdc40..9a40e7f3a 100644 --- a/Source/control.cpp +++ b/Source/control.cpp @@ -521,10 +521,10 @@ std::string TextCmdLevelSeed(const string_view parameter) } std::vector TextCmdList = { - { N_("/help"), N_("Prints help overview or help for a specific command."), N_("({command})"), &TextCmdHelp }, - { N_("/arena"), N_("Enter a PvP Arena."), N_("{arena-number}"), &TextCmdArena }, - { N_("/arenapot"), N_("Gives Arena Potions."), N_("{number}"), &TextCmdArenaPot }, - { N_("/inspect"), N_("Inspects stats and equipment of another player."), N_("{player name}"), &TextCmdInspect }, + { N_("/help"), N_("Prints help overview or help for a specific command."), N_("[command]"), &TextCmdHelp }, + { N_("/arena"), N_("Enter a PvP Arena."), N_(""), &TextCmdArena }, + { N_("/arenapot"), N_("Gives Arena Potions."), N_(""), &TextCmdArenaPot }, + { N_("/inspect"), N_("Inspects stats and equipment of another player."), N_(""), &TextCmdInspect }, { N_("/seedinfo"), N_("Show seed infos for current level."), "", &TextCmdLevelSeed }, };