src/Samurai/Component/Task/OptionParser.php
private function pickShortName($syntax)
    {
        $name = null;
        if (preg_match('/,(\w+)=?/', $syntax, $matches)) {
            $name = $matches[1];
        }
        return $name;
    }
private function pickShortName($syntax)
    {
        $name = null;
        if (preg_match('/,(\w+)=?/', $syntax, $matches)) {
            $name = $matches[1];
        }
        return $name;
    }
private function pickShortName ( $ syntax ) { $ name = null ; if ( preg_match ( '/,(\w+)=?/' , $ syntax , $ matches ) ) { $ name = $ matches [ 1 ] ; } return $ name ; }
pick short name

@param   string  $syntax
@return  string
pick short name