You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This invocation:
hhvm --xhprof-flags 0x200
Results in this error message:
Error in command line: the argument ('0x200') for option '--flags' is invalid
The name of the flag reported back is wrong. It says '--flags'. It should be '--xhprof-flags'.
The text was updated successfully, but these errors were encountered:
Summary: There is a bug in at least Boost 1.54 where options with dashes `-` in them are
not handled correctly. Basically all but the last substring after the last dash
is returned.
See: #2864
So our error string when an option had an invalid argument was just plain wrong.
Since we can't fix boost very easily and are not planning to upgrade yet, we
workaround it with this fix.
Fixes: #2864
Reviewed By: @paulbiss
Differential Revision: D1681063
Signature: t1:1681063:1416505169:7664cff3c23b8fdfec995c54897eb276d44f92d6
This invocation:
hhvm --xhprof-flags 0x200
Results in this error message:
Error in command line: the argument ('0x200') for option '--flags' is invalid
The name of the flag reported back is wrong. It says '--flags'. It should be '--xhprof-flags'.
The text was updated successfully, but these errors were encountered: