diff options
author | Herbert Valerio Riedel <hvr@gnu.org> | 2013-08-27 22:45:45 +0200 |
---|---|---|
committer | Herbert Valerio Riedel <hvr@gnu.org> | 2013-08-27 22:58:36 +0200 |
commit | b982ab40843f360fa12a638758ee91322526625d (patch) | |
tree | 46f3545cd03e7c92d3ea79e16cd82c889842983d /docs | |
parent | 56e28a3fbb7f911e27feac9499f3204d739eead0 (diff) | |
download | haskell-b982ab40843f360fa12a638758ee91322526625d.tar.gz |
User guide entry for `:shows paths` sub-command
This also adds an entry to the release notes section.
See #8172 for more details
Signed-off-by: Herbert Valerio Riedel <hvr@gnu.org>
Diffstat (limited to 'docs')
-rw-r--r-- | docs/users_guide/7.8.1-notes.xml | 7 | ||||
-rw-r--r-- | docs/users_guide/ghci.xml | 17 |
2 files changed, 23 insertions, 1 deletions
diff --git a/docs/users_guide/7.8.1-notes.xml b/docs/users_guide/7.8.1-notes.xml index f3fa0e1984..6b5830e528 100644 --- a/docs/users_guide/7.8.1-notes.xml +++ b/docs/users_guide/7.8.1-notes.xml @@ -211,6 +211,13 @@ TODO FIXME: reference. </para> </listitem> + <listitem> + <para> + The new <literal>:shows paths</literal> command + shows the current working directory and the + current search path for Haskell modules. + </para> + </listitem> </itemizedlist> </sect3> diff --git a/docs/users_guide/ghci.xml b/docs/users_guide/ghci.xml index df483e81f3..7792da21e9 100644 --- a/docs/users_guide/ghci.xml +++ b/docs/users_guide/ghci.xml @@ -2154,7 +2154,9 @@ maybe :: b -> (a -> b) -> Maybe a -> b ‘<literal>˜</literal>’ symbol at the beginning of <replaceable>dir</replaceable> will be replaced by the contents of the environment variable - <literal>HOME</literal>.</para> + <literal>HOME</literal>. + See also the <literal>:show paths</literal> command for + showing the current working directory.</para> <para>NOTE: changing directories causes all currently loaded modules to be unloaded. This is because the search path is @@ -2922,6 +2924,19 @@ bar </varlistentry> <varlistentry> + <term> + <literal>:show paths</literal> + <indexterm><primary><literal>:show paths</literal></primary></indexterm> + </term> + <listitem> + <para>Show the current working directory (as set via + <literal>:cd</literal> command), as well as the list of + directories searched for source files (as set by the + <option>-i</option> option).</para> + </listitem> + </varlistentry> + + <varlistentry> <term> <literal>:show language</literal> <indexterm><primary><literal>:show language</literal></primary></indexterm> |