Project

General

Profile

« Previous | Next » 

Revision 9871

lib/sh/util.sh: echo_func(): removed no longer used $minor flag. use `clog++... echo_func` instead.

View differences:

lib/sh/util.sh
538 538

  
539 539
# usage: func() { [minor=1] echo_func; ... }
540 540
function echo_func()
541
# usage: [minor=1] "echo_func" "$FUNCNAME" "$@" && indent || true
541
# usage: "echo_func" "$FUNCNAME" "$@" && indent || true
542 542
# exit status: whether function call was echoed
543 543
{
544
	kw_params minor
545 544
	local func="$1"; shift
546
	
547
	log++; if test "$minor"; then log++; fi
545
	log++
548 546
	local loc; loc="$(clog++ func_loc "$func")" || return
549 547
	echo_cmd "$loc" "$func" "$@"
550 548
	can_log

Also available in: Unified diff