tox-dev / pipdeptree

A command line utility to display dependency tree of the installed Python packages

Home Page:https://pypi.python.org/pypi/pipdeptree

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

--graph-output no longer works in version 2.5.0

fsherratt opened this issue · comments

PR #195 added an extra command line argument but used the wrong argument in the main() operation selection logic. This has made it so it's not possible to enter the --graph-output logic.

elif args.output_format:
print(render_mermaid(tree))
elif args.output_format:
output = dump_graphviz(tree, output_format=args.output_format, is_reverse=args.reverse)

I think it should be as below

elif args.mermaid:
    print(render_mermaid(tree))
elif args.output_format:
    output = dump_graphviz(tree, output_format=args.output_format, is_reverse=args.reverse)

Just seen #196