toshsan / caliper

Automatically exported from code.google.com/p/caliper
Apache License 2.0
0 stars 0 forks source link

Error message for invalid -i flag is highly misleading #223

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. run your benchmark with the flag "-i=allocation"
2. Get a stack trace for a NPE in Injector creation
3. Get confused

What is the expected output? What do you see instead?

I would expect either of
* error message saying my flag was bad e.g. "Could not find instrument 
'=allocation', valid instruments are 'allocation', 'micro'"
* correct handling of the '=' character in the flag specification

What version of the product are you using? On what operating system?
I am using the HEAD version on linux

Please provide any additional information below.

Original issue reported on code.google.com by lu...@google.com on 19 Feb 2013 at 5:03

GoogleCodeExporter commented 9 years ago

Original comment by gak@google.com on 20 Feb 2013 at 1:08

GoogleCodeExporter commented 9 years ago

Original comment by gak@google.com on 1 Apr 2013 at 10:38