-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Closed
Description
Try to get options help:
/bloom --help
(no output)
Maybe help is with short option?
$ ./bloom -h
Segmentation fault (core dumped)
What about other options?
$ ./bloom -w
Segmentation fault (core dumped)
$ ./bloom -width
Segmentation fault (core dumped)
$ ./bloom -height
Segmentation fault (core dumped)
$ ./bloom -gpu
Segmentation fault (core dumped)
Some of the options do have argument validation:
$ ./bloom --benchfilename --benchwarmup --benchruntime foo
Filename for benchmark results must not start with a hyphen!
Warmup time for benchmark mode must be specified as a number!
Benchmark run duration must be specified as a number!
But those fail to complain about missing argument:
$ ./bloom --benchfilename
$ ./bloom --benchwarmup
$ ./bloom --benchruntime
And there's no checking for invalid options:
$ ./bloom -argh --hmph
(Should output the help instead.)
Metadata
Metadata
Assignees
Labels
No labels