Skip to content

Commit 98f3896

Browse files
committed
Fix reading from stdin.
1 parent 2b2b112 commit 98f3896

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

gprof2dot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3763,7 +3763,7 @@ def main(argv=sys.argv[1:]):
37633763
dest="color_by_difference", default=False,
37643764
help="color nodes based on the value of the difference. "
37653765
"Nodes with the largest differences represent the hot spots.")
3766-
argparser.add_argument('input', nargs='+', metavar='INPUT', help='input stats')
3766+
argparser.add_argument('input', nargs='*', metavar='INPUT', help='input stats')
37673767
options = argparser.parse_args(argv)
37683768
args = options.input
37693769

0 commit comments

Comments
 (0)