This prevents an exception from being raised when PhutilArgumentParser is being used without the standard options. Elsewhere it checks to make sure 'show-standard-options' is an available option before getting it's value, but here it just calls getArg, which causes an exception to be raised.
Details
Details
- Reviewers
- epriestley 
- Group Reviewers
- Blessed Reviewers 
- Commits
- rPHU698792750d4d: Prevent error in PhutilArgumentParser when not using standard options
Saw this occur when hitting this code path in Omni (which doesn't have the standard options for builtins).
Diff Detail
Diff Detail
- Repository
- rPHU libphutil
- Lint
- Lint Not Applicable 
- Unit
- Tests Not Applicable