diff options
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -363,8 +363,8 @@ int main(int argc, char **argv) printf("Entity '%s' not found\n", media_opts.entity); } - if (media_opts.print) { - media_print_topology(media); + if (media_opts.print || media_opts.print_dot) { + media_print_topology(media, media_opts.print_dot); printf("\n"); } |