original_string: public function help($width = 0)
      {
          $name = $this->_name;
          if (strlen($name) < $width) {
              $name = str_pad($name, $width, ' ');
          }
          $optional = '';
          if (!$this->isRequired()) {
              $optional = ' <comment>(optional)</comment>';
          }
          if ($this->_choices) {
              $optional .= sprintf(' <comment>(choices: %s)</comment>', implode('|', $this->_choices));
          }
  
          return sprintf('%s%s%s', $name, $this->_help, $optional);
      }
code: public function help($width = 0)
      {
          $name = $this->_name;
          if (strlen($name) < $width) {
              $name = str_pad($name, $width, ' ');
          }
          $optional = '';
          if (!$this->isRequired()) {
              $optional = ' <comment>(optional)</comment>';
          }
          if ($this->_choices) {
              $optional .= sprintf(' <comment>(choices: %s)</comment>', implode('|', $this->_choices));
          }
  
          return sprintf('%s%s%s', $name, $this->_help, $optional);
      }
code_tokens: public function help ( $ width = 0 ) { $ name = $ this -> _name ; if ( strlen ( $ name ) < $ width ) { $ name = str_pad ( $ name , $ width , ' ' ) ; } $ optional = '' ; if ( ! $ this -> isRequired ( ) ) { $ optional = ' <comment>(optional)</comment>' ; } if ( $ this -> _choices ) { $ optional .= sprintf ( ' <comment>(choices: %s)</comment>' , implode ( '|' , $ this -> _choices ) ) ; } return sprintf ( '%s%s%s' , $ name , $ this -> _help , $ optional ) ; }
docstring: Generate the help for this argument.
  
  @param int $width The width to make the name of the option.
  @return string
docstring_tokens: Generate the help for this argument .