lib/MrClay/Cli.php
public function getErrorReport()
    {
        if (empty($this->errors)) {
            return '';
        }
        $r = "Some arguments did not pass validation:\n";
        foreach ($this->errors as $letter => $arr) {
            $r .= "  $letter : " . implode(', ', $arr) . "\n";
        }
        $r .= "\n";

        return $r;
    }
public function getErrorReport()
    {
        if (empty($this->errors)) {
            return '';
        }
        $r = "Some arguments did not pass validation:\n";
        foreach ($this->errors as $letter => $arr) {
            $r .= "  $letter : " . implode(', ', $arr) . "\n";
        }
        $r .= "\n";

        return $r;
    }
public function getErrorReport ( ) { if ( empty ( $ this -> errors ) ) { return '' ; } $ r = "Some arguments did not pass validation:\n" ; foreach ( $ this -> errors as $ letter => $ arr ) { $ r .= "  $letter : " . implode ( ', ' , $ arr ) . "\n" ; } $ r .= "\n" ; return $ r ; }
Get a short list of errors with options

@return string
Get a short list of errors with options