aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--doc_src/dirs.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc_src/dirs.txt b/doc_src/dirs.txt
index 231b678b..c3da6e84 100644
--- a/doc_src/dirs.txt
+++ b/doc_src/dirs.txt
@@ -3,10 +3,13 @@
\subsection dirs-synopsis Synopsis
\fish{synopsis}
dirs
+dirs -c
\endfish
\subsection dirs-description Description
`dirs` prints the current directory stack, as created by the <a href="#pushd">`pushd`</a> command.
+With "-c", it clears the directory stack instead.
+
`dirs` does not accept any parameters.