Constructs a string to represent the verbose help, which lists the
usage for all tasks.

@return String for the verbose help message
17212
private StringBuilder verboseHelp() {
        StringBuilder verboseHelp = new StringBuilder(getScriptUsage());
        verboseHelp.append(NL);
        verboseHelp.append(getHelpPart("global.actions"));
        verboseHelp.append(NL);
        for (ExeAction action : ExeAction.values()) {
            verboseHelp.append(NL);
            verboseHelp.append("    ");
            verboseHelp.append(action.toString());
            verboseHelp.append(NL);
            verboseHelp.append(getDescription(action));
            verboseHelp.append(NL);
        }
        verboseHelp.append(NL);
        verboseHelp.append(getHelpPart("global.options"));
        verboseHelp.append(NL);
        verboseHelp.append(getHelpPart("global.options.statement"));
        verboseHelp.append(NL);
        verboseHelp.append(NL);
        return verboseHelp;
    }
681302
public function toString()
    {
        $result = '';

        if (!empty($this->scheme)) {
            $result.= $this->scheme . ':';
        }

        if (!empty($this->authority)) {
            $result.= '//' . $this->authority;
        }

        $result.= $this->path;

        if (!empty($this->query)) {
            $result.= '?' . $this->query;
        }

        if (!empty($this->fragment)) {
            $result.= '#' . $this->fragment;
        }

        return $result;
    }
636757
public String usage() {
    final StringBuilder buf = new StringBuilder(16 * options.size());
    addUsageTo(buf);
    return buf.toString();
  }
868873
private String taskHelp(SecurityUtilityTask task) {
        StringBuffer taskUsage = new StringBuffer(NL);
        taskUsage.append(task.getTaskHelp());
        taskUsage.append(NL);
        return taskUsage.toString();
    }
804910
protected function help()
    {
        
        
    	$usage = "Usage:php {$this->argv[0]} [arguments]\n";
    	$usage .= "\nArguments list:\n";
		foreach($this->inputFormat['parameters'] as $parameter){
		    $line = '';
       		if(isset($parameter['required'])){
       			if($parameter['required'] == true){
       				$line .= "Required";
       			}
       			else{
       				$line .= "Optional";
       			}
       		}
       		else{
       			//$usage .= "\t";
       		}
       		$line = str_pad($line, 15).' ';
			$line .= "--{$parameter['name']}";
       		if(isset($parameter['shortcut'])){
       			$line .= "|-{$parameter['shortcut']}";
       		}
       		$line = str_pad($line, 39).' ';
       		$line .= "{$parameter['description']}";
       		$usage .= $line."\n";
       	}
  		$this->out($usage, array('color' => 'light_blue'));
    	
        
    }
514788
public String getMessage() {
        if (performanceDataList.isEmpty()) {
            return messageString;
        }
        StringBuilder res = new StringBuilder(messageString).append('|');
        for (PerformanceData pd : performanceDataList) {
            res.append(pd.toPerformanceString()).append(' ');
        }
        return res.toString();
    }
95205
public String getHelpText() {
		@SuppressWarnings("unchecked")
		ArrayList<Argument> arguments = (ArrayList<Argument>) this.args.clone();
		String ret = programDescription + "\n";
		ret += "Usage: " + executableName + " ";
		for (Argument arg : this.args) {
			if (arg.isParam) {
				ret += !arg.isRequiredArg() 
						? "["
						: "";
				ret += arg.longOption;
				
				ret += !arg.isRequiredArg() 
						? "]"
						: "";
				ret += arg.isMultipleAllowed()
						? "..."
						: "";
				ret += " ";
				
				arguments.remove(arg);
			}
		}
		for (Argument arg : arguments) {
			if (arg.isRequiredArg()) {
				ret += !arg.isRequiredArg() 
						? "["
						: "";
				ret += arg.getLongOption() == null ? "-" + arg.getOption()
						: "--" + arg.getLongOption();
				
				ret += !arg.isRequiredArg() 
						? "]"
						: "";
				ret += arg.isMultipleAllowed()
						? "..."
						: "";
				ret += " ";
			}
		}
		ret += "[OPTION]";
		ret += arguments.size() > 1
				? "... "
				: " ";
		ret += "\n" + usageHint + "\n";
		ArrayList<String> col1 = new ArrayList<String>();
		ArrayList<String> col2 = new ArrayList<String>();
		for (Argument option : arguments) {
			String line = option.getOption() != null ? String.format("  %-5s",
					"-" + option.option
							+ (option.getLongOption() != null ? "," : ""))
					: String.format("  %-5s", "");
			line += option.getLongOption() != null ? "--"
					+ option.longOption
					+ (option.getValueHint().length() > 0
							&& option.takesValue() ? "="
							+ option.getValueHint() : "") : "";
			col1.add(line);
			col2.add(option.helpText);
		}
		ret += theColumnator((String[]) col1.toArray(new String[] {}),
				(String[]) col2.toArray(new String[] {}), 2, 80);
		return ret;
	}
803918
public String getRequestURI() {
    if ((message == null) || (((Request) message).getRequestURI() == null)) {
      return "";
    }

    return ((Request) message).getRequestURI().toString();
  }
185718
public function diag_strings() {
        $sm = get_string_manager();
        if (!$sm->string_exists($this->identifier, $this->component)) {
            debugging("Help title string does not exist: [$this->identifier, $this->component]");
        }
        if (!$sm->string_exists($this->identifier.'_help', $this->component)) {
            debugging("Help contents string does not exist: [{$this->identifier}_help, $this->component]");
        }
    }
1204824
public function getMessageString()
    {
        $str = $this->pri;
        $str .= implode(' ', $this->header);

        if ($this->message['APP-NAME']) {
            $str .= ' ' . $this->message['APP-NAME'] . ': ' . $this->message['MSG'];
        } else {
            $str .= ' ' . $this->message['MSG'];
        }
        return $str;
    }
1329617
public function toString()
    {
        $request = Parser\RequestParser::buildStatusLine($this) . Http::NEW_LINE;
        $headers = Parser\RequestParser::buildHeaderFromMessage($this);

        foreach ($headers as $header) {
            $request.= $header . Http::NEW_LINE;
        }

        $request.= Http::NEW_LINE;
        $request.= (string) $this->getBody();

        return $request;
    }
184106
public function getVerboseContent()
    {
        if (!$this->verboseFileHandle) {
            return null;
        }

        fseek($this->verboseFileHandle, 0);

        $lines = array();
        while ($line = trim(fgets($this->verboseFileHandle), "\n\r")) {
            $lines[] = $line;
        }

        return $lines;
    }
149263
function verbose() {
  var args = [LEVELS.VERBOSE].concat(slice.apply(arguments));
  return this.log.apply(this, args);
}
1159216
public function getFullMessage(): string {
        $paras = [];

        if (!empty($this->getMainMessage())) {
            $paras[] = $this->getMainMessage();
        } elseif ($this->getErrorCount() === 0) {
            return '';
        }

        if (isset($this->errors[''])) {
            $paras[] = $this->formatErrorList('', $this->errors['']);
        }

        foreach ($this->errors as $field => $errors) {
            if ($field === '') {
                continue;
            }
            $paras[] = $this->formatErrorList($field, $errors);
        }

        $result = implode("\n\n", $paras);
        return $result;
    }
1163771
@Override
    public String getFormattedMessage() {
        if (formattedMessage != null) {
            return formattedMessage;
        }
        final StringBuilder sb = new StringBuilder(255);
        formatTo(sb);
        return sb.toString();
    }
1355722
public function getUsageMessage()
    {
        foreach ($this->optionDefinitions as $def) {
            $this->usageProvider->addOptionDefinition($def);
        }
        if (empty($this->scriptName)) {
            $this->scriptName = $_SERVER['PHP_SELF'];
        }
        $this->usageProvider->setScriptName($this->scriptName);
        return $this->usageProvider->getUsageMessage();
    }
656085
public String getScriptUsage() {
        StringBuffer scriptUsage = new StringBuffer(NL);
        scriptUsage.append(getMessage("usage", scriptName));
        scriptUsage.append(" {");
        for (int i = 0; i < tasks.size(); i++) {
            SecurityUtilityTask task = tasks.get(i);
            scriptUsage.append(task.getTaskName());
            if (i != (tasks.size() - 1)) {
                scriptUsage.append("|");
            }
        }
        scriptUsage.append("} [options]");
        scriptUsage.append(NL);
        return scriptUsage.toString();
    }