Exuberant Ctags#

Program ctags#


Argument --help wyświetla uproszczoną instrukcję dla programu ctags, która składa się z podstawowych informacji o programie (to samo, co argument --version) oraz skrótowego opisu poszczególnych jego argumentów. Argument --help to jeden z przerywających argumentów.

Opis działania#

Prawidłowe użycie argumentu najlepiej objaśnić na zapisie składniowym:

  1. L
  2. K
  3. T'
  4. T
  5. A
  6. O
  7. Z'
  8. Z
  9. #
ctags --help

gdzie poszczególne człony oznaczają:

Prosty przykład:

  1. L
  2. K
  3. T'
  4. T
  5. A
  6. O
  7. Z'
  8. Z
  9. #
ctags --help
ctags --help > help.txt		:: przekierowanie instrukcji do pliku


  1. L
  2. K
  3. T'
  4. T
  5. A
  6. O
  7. Z'
  8. Z
  9. #
Exuberant Ctags 5.8, Copyright (C) 1996-2009 Darren Hiebert
  Compiled: Jul  9 2009, 17:05:35
  Addresses: <dhiebert@users.sourceforge.net>, http://ctags.sourceforge.net
  Optional compiled features: +win32, +regex, +internal-sort

Usage: ctags [options] [file(s)]

  -a   Append the tags to an existing tag file.
  -B   Use backward searching patterns (?...?).
  -e   Output tag file for use with Emacs.
  -f <name>
       Write tags to specified file. Value of "-" writes tags to stdout
       ["tags"; or "TAGS" when -e supplied].
  -F   Use forward searching patterns (/.../) (default).
  -h <list>
       Specify list of file extensions to be treated as include files.
  -I <list|@file>
       A list of tokens to be specially handled is read from either the
       command line or the specified file.
  -L <file>
       A list of source file names are read from the specified file.
       If specified as "-", then standard input is read.
  -n   Equivalent to --excmd=number.
  -N   Equivalent to --excmd=pattern.
  -o   Alternative for -f.
  -R   Equivalent to --recurse.
  -u   Equivalent to --sort=no.
  -V   Equivalent to --verbose.
  -x   Print a tabular cross reference file to standard output.
       Should tags should be appended to existing tag file [no]?
      Include reference to 'file' in Emacs-style tag file (requires -e).
      Exclude files and directories matching 'pattern'.
       Uses the specified type of EX command to locate tags [mix].
      Include extra tag entries for selected information (flags: "fq").
      Include selected extension fields (flags: "afmikKlnsStz") [fks].
       Should tags scoped only for a single file (e.g. "static" tags
       be included in the output [yes]?
       Behave as a filter, reading file names from standard input and
       writing tags to standard output [no].
       Specify string to print to stdout following the tags for each file
       parsed when --filter is enabled.
       Force output of specified tag file format [2].
       Print this option summary.
       Should C code within #if 0 conditional branches be parsed [no]?
       Enable/disable tag kinds for language <LANG>.
       Define a new language to be parsed with regular expressions.
       Override default mapping of language to source file extension.
       Force all files to be interpreted using specified language.
       Restrict files scanned for tags to those mapped to langauges
       specified in the comma-separated 'list'. The list can contain any
       built-in or user-defined language [all].
       Print details of software license.
       Should #line directives be processed [no]?
       Indicate whether symbolic links should be followed [yes].
       Output a list of all tag kinds for specified language or all.
       Output list of supported languages.
       Output list of language mappings.
       Specify file from which command line options should be read.
       Recurse into directories supplied on command line [no].
       Define regular expression for locating tags in specific language.
       Should tags be sorted (optionally ignoring case) [yes]?.
       Should paths be relative to location of tag file [no; yes when -e]?
       Print statistics about source and tag files [no].
       Enable verbose messages describing actions on each source file.
       Print version identifier to standard output.
Pasek społecznościowy


Exuberant Ctags (H1) Program ctags (H2) --help (H3) Opis działania (H4)