Skip to content

Commit

Permalink
docs(man): write about -C/--canonicalize-input option of readtags
Browse files Browse the repository at this point in the history
Signed-off-by: Masatake YAMATO <yamato@redhat.com>
  • Loading branch information
masatake committed Oct 15, 2022
1 parent 2db599b commit 185f8b8
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
9 changes: 9 additions & 0 deletions docs/man/readtags.1.rst
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,15 @@ Controlling the Output
By default, the output of readtags contains only the name, input and pattern
field. The Output can be tweaked using these options:

``-C``, ``--canonicalize-input``
Reduct '..' and '.' in input fields of regular tags.
This option works only with tags files having ``!_TAG_PROC_CWD`` pseudo
tag.

NOTE: The current implementation accepts only ``!_TAG_PROC_CWD``
starting with ``/``; a Windows directory name starting with a
drive letter like ``C:\Somewhere`` is not acceptable.

``-d``, ``--debug``
Turn on debugging output.

Expand Down
9 changes: 9 additions & 0 deletions man/readtags.1.rst.in
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,15 @@ Controlling the Output
By default, the output of readtags contains only the name, input and pattern
field. The Output can be tweaked using these options:

``-C``, ``--canonicalize-input``
Reduct '..' and '.' in input fields of regular tags.
This option works only with tags files having ``!_TAG_PROC_CWD`` pseudo
tag.

NOTE: The current implementation accepts only ``!_TAG_PROC_CWD``
starting with ``/``; a Windows directory name starting with a
drive letter like ``C:\Somewhere`` is not acceptable.

``-d``, ``--debug``
Turn on debugging output.

Expand Down

0 comments on commit 185f8b8

Please sign in to comment.