original_string: public function update($groupOrRemote, $prune = false)
      {
          $this->arguments[] = 'update';
          if ($prune) {
              $this->arguments[] = '--prune';
          }
          $this->arguments[] = $groupOrRemote;
          return $this;
      }
code: public function update($groupOrRemote, $prune = false)
      {
          $this->arguments[] = 'update';
          if ($prune) {
              $this->arguments[] = '--prune';
          }
          $this->arguments[] = $groupOrRemote;
          return $this;
      }
code_tokens: public function update ( $ groupOrRemote , $ prune = false ) { $ this -> arguments [ ] = 'update' ; if ( $ prune ) { $ this -> arguments [ ] = '--prune' ; } $ this -> arguments [ ] = $ groupOrRemote ; return $ this ; }
docstring: Add the update option to the command line.
  
  @param string $groupOrRemote Name of the remote or a remote group.
  
  @param bool   $prune         Flag if the remote shall be pruned.
  
  @return RemoteCommandBuilder
docstring_tokens: Add the update option to the command line .