From e0a09c5bb3527cfdc1f2416d597cce50a141d31c Mon Sep 17 00:00:00 2001 From: simonmar Date: Mon, 27 Jun 2005 09:17:35 +0000 Subject: [PATCH] [project @ 2005-06-27 09:17:35 by simonmar] Update docs for :ctags, :etags. --- ghc/docs/users_guide/ghci.xml | 23 ++++++++++++++--------- 1 file changed, 14 insertions(+), 9 deletions(-) diff --git a/ghc/docs/users_guide/ghci.xml b/ghc/docs/users_guide/ghci.xml index cac0e11..1bed4c2 100644 --- a/ghc/docs/users_guide/ghci.xml +++ b/ghc/docs/users_guide/ghci.xml @@ -63,7 +63,8 @@ Prelude> :show modules show the currently loaded modules :show bindings show the current bindings made at the prompt - :tags -e|-c create tags file for Vi (-c) or Emacs (-e) + :ctags [<file>] create tags file for Vi (default: "tags") + :etags [<file>] create tags file for Emacs (defauilt: "TAGS") :type <expr> show the type of <expr> :kind <type> show the kind of <type> :undef <cmd> undefine user-defined command :<cmd> @@ -1138,17 +1139,21 @@ Prelude> :. cmds.ghci - :tags -c|-e - :tags + :ctags filename + :etags filename + :etags + + :etags - Generates a “tags” file for either Vi-style editors - (-c) or Emacs-style editors - (-e). The file generated will be called - tags or TAGS - respectively. - + Generates a “tags” file for Vi-style editors + (:ctags) or Emacs-style editors (etags). If + no filename is specified, the defaulit tags or + TAGS is + used, respectively. Tags for all the functions, constructors and + types in the currently loaded modules are created. All modules must + be interpreted for these commands to work. See also . -- 1.7.10.4