diff options
Diffstat (limited to 'share')
-rw-r--r-- | share/man/man1/grepc.1 | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/share/man/man1/grepc.1 b/share/man/man1/grepc.1 index 7003255..c459510 100644 --- a/share/man/man1/grepc.1 +++ b/share/man/man1/grepc.1 @@ -32,6 +32,24 @@ If no .I file is given, the working directory is searched. +.SS Types of code +This program can search for several types of code. +The following arguments can be passed to the +.B \-t +option +to select the types of code that will be searched. +.TP +.B e +enum constant definitions. +.TP +.B f +Function declarations and definitions. +.TP +.B m +Macro definitions. +.TP +.B t +Type definitions. .SH OPTIONS .TP .B \-g @@ -40,6 +58,15 @@ Restrict the search to files tracked by git. .B \-h Output a help message and exit. .TP +.BI \-t " type" +Restrict the search to a specific +.I type +of code (see Types of code under DESCRIPTION). +This option can be passed multiple times +to search for various types of code. +Default: +.BR "e f m t" . +.TP .BI \-x " extension" Restrict the search to files ending with .IR extension . |