Summary: 1. Yargs doesn't like having the same option name as the given alias and will just silently skip those (like --metrics). 2. Having multiple ways of specifying the same argument is not a good practise. I think we've been misusing `alias` as a way to have more JavaScript-y accessors, but ignoring that yargs already converts `my-long-argument` to `myLongArgument` without having to expose this. We haven't rolled out a version with the previous long arguments, so we should still be able to change this without breaking stuff. Reviewed By: jknoxville Differential Revision: D15620636 fbshipit-source-id: 84a8046cf06d696e947719032c4f9c34ac9c0474
7.4 KiB
7.4 KiB