Project

General

Profile

« Previous | Next » 

Revision 9223

lib/sh/util.sh: command(): made usage message an end-of-line comment

View differences:

lib/sh/util.sh
222 222

  
223 223
## external commands
224 224

  
225
function command()
226
# usage: [cmd_log_fd=|1|2|#] command extern_cmd...
225
function command() # usage: [cmd_log_fd=|1|2|#] command extern_cmd...
227 226
# to view only explicitly-displayed errors: explicit_errors_only=1 script...
228 227
{
229 228
	cmd2rel_path; (echo_params; can_log) && indent || true

Also available in: Unified diff