Skip to content

Commit 649f58d

Browse files
committed
updated help
1 parent 2f8c95e commit 649f58d

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

bin/hist

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,16 +22,13 @@ if __name__=="__main__":
2222
parser.add_option('-x', '--xlab', help='label bins on x-axis', default=None, action="store_true", dest='x')
2323
parser.add_option('-c', '--colour', help='colour of the plot (%s)' % ", ".join([c for c in bcolours.keys() if c != 'ENDC']),
2424
default='white', dest='colour')
25-
parser.add_option('-d', '--demo', help='run demos', action='store_true', dest='demo')
2625
parser.add_option('-n', '--nosummary', help='hide summary', action='store_false', dest='nosummary')
2726

2827
(opts, args) = parser.parse_args()
2928

3029
if opts.f is None:
3130
if len(args) > 0:
3231
opts.f = args[0]
33-
elif opts.demo is None:
34-
opts.f = sys.stdin.readlines()
3532

3633
if opts.demo:
3734
run_demo()

0 commit comments

Comments
 (0)