From d48e93f6a57922239f8564b03cabd43ed7e2b98c Mon Sep 17 00:00:00 2001 From: twanvl Date: Sat, 9 Aug 2008 01:55:49 +0000 Subject: [PATCH] documented :cd and :pwd commands git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1117 0fc631ac-6414-0410-93d0-97cfa31319b6 --- doc/cli/cli.txt | 4 +++- src/cli/cli_main.cpp | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/doc/cli/cli.txt b/doc/cli/cli.txt index 721d2fff..fac37905 100644 --- a/doc/cli/cli.txt +++ b/doc/cli/cli.txt @@ -13,11 +13,13 @@ The CLI shows a prompt where commands can be entered, which are then executed by ! Command Short version Description | @:help@ @:?@ Show a help screen describing the available commands. -| @:quit@ @:q@ Quit the interactive cli. +| @:quit@ @:q@ Exit the MSE command line interface. | @:load@ @:l@ Load a set file. The current set will be unloaded. For example: ]:load my-set.mse-set | @:reset@ @:r@ Clear all variable definitions. +| @:cd@ @:c@ Change the working directory. +| @:pwd@ @:p@ Print the current working directory. | @:!@ Perform a shell command. For example @:! dir@ shows a directory listing. | ''other'' Execute the command as a line of [[type:script]] code. The script has access to the loaded set and all [[fun:index|built in functions]]. diff --git a/src/cli/cli_main.cpp b/src/cli/cli_main.cpp index 552dceb3..b29fe1de 100644 --- a/src/cli/cli_main.cpp +++ b/src/cli/cli_main.cpp @@ -102,7 +102,7 @@ void CLISetInterface::showUsage() { cli << _(" :quit Exit the MSE command line interface.\n"); cli << _(" :reset Clear all local variable definitions.\n"); cli << _(" :pwd Print the current working directory.\n"); - cli << _(" :cd Change working directory.\n"); + cli << _(" :cd Change the working directory.\n"); cli << _(" :! Perform a shell command.\n"); cli << _("\n Commands can be abreviated to their first letter if there is no ambiguity.\n\n"); }