diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2010-05-21 16:38:55 +0200 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2010-05-21 16:38:55 +0200 |
commit | 293ec4a8813e6d7d68dc147dff102d3a61396515 (patch) | |
tree | 3eef8b74bd68bde1258d27123a44e42e74f9ad51 /main.c | |
parent | 23a9a40c33d284ee280b330b1ced9a7b6bcffd89 (diff) |
Add --print-dot option to print topology as a dot graph
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
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"); } |