hasktags - Man Page

manual page for hasktags 0.73.0

Synopsis

hasktags [(-c|--ctags) | (-e|--etags) | (-b|--both)] [-x|--extendedctag]

Description

[-a|--append] [-f|-o|--file|--output FILE|-] [--cache] [-L|--follow-symlinks] [-S|--suffixes ARG] [-R|--tags-absolute] [--options FILE] <files or directories...> [--version]

directories will be replaced by DIR/**/*.hs DIR/**/*.lhs Thus hasktags . tags all important files in the current directory.

If directories are symlinks they will not be followed unless you pass -L.

A special file "STDIN" will make hasktags read the line separated file

list to be tagged from STDIN.

Available options

-c,--ctags

generate CTAGS file (ctags)

-e,--etags

generate ETAGS file (etags)

-b,--both

generate both CTAGS and ETAGS (default)

-x,--extendedctag

Generate additional information in ctag file.

-a,--append

append to existing CTAGS and/or ETAGS file(s). Afterward this file will no longer be sorted!

-f,-o,--file,--output FILE|-

output to given file, instead of using the default names. '-' writes to stdout (default: ctags: tags, etags: TAGS)

--cache

cache file data

-L,--follow-symlinks

follow symlinks when recursing directories

-S,--suffixes ARG

list of hs suffixes including "." (default: [".hs",".lhs",".hsc"])

-R,--tags-absolute

make tags paths absolute. Useful when setting tags files in other directories

--options FILE

read additional options from file. The file should contain one option per line

--version

show version

-h,--help

Show this help text

Info

January 2026 hasktags 0.73.0