Description: Add new options from version 1.7 to manpage. Author: Marcos Talau Last-Update: 2021-12-30 --- cflow-1.7.orig/doc/cflow.1 +++ cflow-1.7/doc/cflow.1 @@ -13,7 +13,7 @@ .\" .\" You should have received a copy of the GNU General Public License .\" along with Cflow. If not, see . -.TH CFLOW 1 "February 10, 2019" "CFLOW" +.TH CFLOW 1 "December 30, 2021" "CFLOW" .SH NAME cflow \- generate a C-language flowgraph .SH SYNOPSIS @@ -32,6 +32,7 @@ cflow \- generate a C-language flowgraph [\fB\-\-pushdown=\fINUMBER\fR] [\fB\-\-preprocess\fR[\fB=\fICOMMAND\fR]]\ [\fB\-\-cpp\fR[\fB=\fICOMMAND\fR]]\ [\fB\-\-symbol=\fISYMBOL\fB:\fR[\fB=\fR]\fITYPE\fR]\ + [\fB\-\-target=\fIFUNCTION\fR]\ [\fB\-\-use\-indentation\fR] [\fB\-\-undefine=\fINAME\fR]\ [\fB\-\-brief\fR] [\fB\-\-emacs\fR] [\fB\-\-print\-level\fR]\ [\fB\-\-level\-indent=\fIELEMENT\fR]\ @@ -82,8 +83,8 @@ is not limited. Set debugging level. .TP \fB\-f\fR, \fB\-\-format=\fINAME\fR -Use given output format \fINAME\fR. Valid names are \fBgnu\fR (the -default) and \fBposix\fR. +Use given output format \fINAME\fR. Valid names are \fBdot\fR (DOT language), +\fBgnu\fR (the default), and \fBposix\fR. .TP \fB\-i\fR, \fB\-\-include=\fICLASSES\fR Include specified classes of symbols. The @@ -134,7 +135,9 @@ Add the directory \fIDIR\fR to the list for header files. .TP \fB\-m\fR, \fB\-\-main=\fINAME\fR -Assume main function is \fINAME\fR +Assume main function is \fINAME\fR. This option can be given multiple +times. A separate graph will be drawn for each function given as its +argument. .TP \fB\-\-no\-main\fR Assume there's no main function in the program. This option has the @@ -171,6 +174,10 @@ Rely on indentation to solve suspicious \fB\-\-no\-use\-indentation\fR Don't use indentation in parsing (default). .TP +\fB\-\-target=\fIFUNCTION\fR +If this option is given, the produced graph will contain only paths +leading from start function (or functions) to the given \fIFUNCTION\fR. +.TP \fB\-U\fR, \fB\-\-undefine=\fINAME\fR Cancel any previous definition of \fINAME\fR. .SS Output control