Spec: Clarify mc_cfg_to_dot output

This commit is contained in:
Alex Hirsch 2021-04-15 13:52:05 +02:00
parent 577cef1b0f
commit 26c6f72662

View File

@ -517,14 +517,15 @@ This is the main compiler executable, sometimes referred to as *driver*.
usage: mc_cfg_to_dot [OPTIONS] <file> usage: mc_cfg_to_dot [OPTIONS] <file>
Utility for printing a control flow graph in the DOT format. The output Utility for printing a control flow graph in the DOT format. The output
can be visualised using graphviz. Errors are reported on invalid inputs. contains multiple connected graphs, one per function. The output can be
visualised using graphviz. Errors are reported on invalid inputs.
Use '-' as input file to read from stdin. Use '-' as input file to read from stdin.
OPTIONS: OPTIONS:
-h, --help display this help message -h, --help display this help message
-o, --output <out-file> write the output to <out-file> (defaults to stdout) -o, --output <out-file> write the output to <out-file> (defaults to stdout)
-f, --function <name> print the CFG of the given function (defaults to 'main') -f, --function <name> print the CFG of the given function
### `mc_asm` ### `mc_asm`