path: root/src/main.c
authorSergey Poznyakoff <>2019-02-10 13:26:03 (GMT)
committer Sergey Poznyakoff <>2019-02-10 13:26:03 (GMT)
commitb85e6151264722dcaf7dcd1ec2a75bcee295512c (patch) (side-by-side diff)
treef30c25a60b37097cff69cee25f0deb54d7954145 /src/main.c
parentb4038ea16c1709367f5c84939919785686481b55 (diff)
Finish implementation of --all
* doc/cflow.1: Document the --all --all behavior * doc/cflow.texi: Likewise. * src/main.c: Increment all_functions for each -A option. * src/output.c (tree_output): If one --all option is used, output graphs for all top-level functions (i.e. functions, not reachable from other ones). If used twice, output graphs for all global function. * tests/ New test. * tests/ Add new test. * tests/ Likewise.
Diffstat (limited to 'src/main.c') (more/less context) (ignore whitespace changes)
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index a5535c7..bdfddb0 100644
--- a/src/main.c
+++ b/src/main.c
@@ -518,7 +518,7 @@ parse_opt (int key, char *arg, struct argp_state *state)
switch (key) {
case 'A':
- all_functions = 1;
+ all_functions++;
case 'a':
strict_ansi = 1;

Return to:

Send suggestions and report system problems to the System administrator.