src/Parser.php
public function setupSupportedArgs($arguments = [])
    {
        $defaults = [
            'help' => 'The help menu',
        ];

        $arguments = array_merge($defaults, $arguments);

        $this->supportedArgs = $arguments;

        return $this;
    }
public function setupSupportedArgs($arguments = [])
    {
        $defaults = [
            'help' => 'The help menu',
        ];

        $arguments = array_merge($defaults, $arguments);

        $this->supportedArgs = $arguments;

        return $this;
    }
public function setupSupportedArgs ( $ arguments = [ ] ) { $ defaults = [ 'help' => 'The help menu' , ] ; $ arguments = array_merge ( $ defaults , $ arguments ) ; $ this -> supportedArgs = $ arguments ; return $ this ; }
Takes the supported arguments, and does some setup on them

@param array $arguments The list of args/descriptions that are supported.

@return PhpCli\Parser Returns $this, for object-chaining.
Takes the supported arguments and does some setup on them