summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFrank LENORMAND <lenormf@gmail.com>2016-10-11 10:28:45 +0300
committerFrank LENORMAND <lenormf@gmail.com>2016-10-11 10:39:20 +0300
commitf7e2bfd76fc1629ffd4e1664eff3de2bb3935bed (patch)
treeb4e4ccf0807f1ce72d9e584a16f00fa9edc94004 /src
parentf6a2925950baa85d6b3835e6f418bbecd11a9295 (diff)
Document the optional parameter of the `cd` command
Diffstat (limited to 'src')
-rw-r--r--src/commands.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commands.cc b/src/commands.cc
index 9cf2a75d..0cc27662 100644
--- a/src/commands.cc
+++ b/src/commands.cc
@@ -1958,7 +1958,7 @@ const CommandDesc select_cmd = {
const CommandDesc change_working_directory_cmd = {
"cd",
nullptr,
- "cd <dir>: change server working directory to <dir>",
+ "cd [<directory>]: change the server's working directory to <directory>, or the home directory if unspecified",
single_optional_name_param,
CommandFlags::None,
CommandHelper{},