public function addUsage($usage)
    {
        if (0 !== strpos($usage, $this->name)) {
            $usage = sprintf('%s %s', $this->name, $usage);
        }

        $this->usages[] = $usage;

        return $this;
    }
public function addUsage($usage)
    {
        if (0 !== strpos($usage, $this->name)) {
            $usage = sprintf('%s %s', $this->name, $usage);
        }

        $this->usages[] = $usage;

        return $this;
    }
public function addUsage ( $ usage ) { if ( 0 !== strpos ( $ usage , $ this -> name ) ) { $ usage = sprintf ( '%s %s' , $ this -> name , $ usage ) ; } $ this -> usages [ ] = $ usage ; return $ this ; }
Add a command usage example.

@param string $usage The usage, it'll be prefixed with the command name

@return $this
Add a command usage example .