Permalink
Browse files

Sync with bashdb

  • Loading branch information...
1 parent 41c48a6 commit 7edfd3d3f384a64a1c3dbbdd3cccdb7f97482c12 @rocky committed May 15, 2011
Showing with 9 additions and 8 deletions.
  1. +9 −8 command/info_sub/functions.sh
View
17 command/info_sub/functions.sh
@@ -36,12 +36,13 @@ See also \"info variables\".' 1
# list functions and break condition.
# If $1 is given just list those associated for that line.
_Dbg_do_info_functions() {
- typeset pat=$1
-
- typeset -a ret_fns
- _Dbg_get_functions 0 "$pat"
- typeset -i i
- for (( i=0; (( i < ${#ret_fns[@]} )) ; i++ )) ; do
- _Dbg_msg ${ret_fns[$i]}
- done
+ typeset pat=$1
+
+ typeset -a ret_fns
+ _Dbg_get_functions 0 "$pat"
+ typeset -i i
+ for (( i=0; i < ${#ret_fns[@]} ; i++ )) ; do
+ _Dbg_msg ${ret_fns[$i]}
+ done
+ return 0
}

0 comments on commit 7edfd3d

Please sign in to comment.