Homec4science

Properly escape argument parser exception

Authored by vrana <jakubv@fb.com> on Oct 9 2012, 01:38.

Description

Properly escape argument parser exception

Test Plan:

$ex = new PhutilArgumentUsageException('**test**');
id(new PhutilArgumentParser(array('')))->printUsageException($ex);

Reviewers: epriestley

Reviewed By: epriestley

CC: aran, Korvin

Differential Revision: https://secure.phabricator.com/D3664

Details

Committed
vrana <jakubv@fb.com>Oct 9 2012, 02:09
Pushed
aubortMar 17 2017, 12:03
Parents
rPHU7b18e75b006f: Write to STDERR instead of php://stderr
Branches
Unknown
Tags
Unknown

Event Timeline

vrana <jakubv@fb.com> committed rPHU579c23133164: Properly escape argument parser exception (authored by vrana <jakubv@fb.com>).Oct 9 2012, 02:09