Skip to content

Commit

Permalink
Rename functions in bin/bashlets-list.
Browse files Browse the repository at this point in the history
  • Loading branch information
Roberto Reale committed Mar 9, 2018
1 parent 3c00fd4 commit 4e4460c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions bin/bashlets-list
Original file line number Diff line number Diff line change
Expand Up @@ -93,14 +93,14 @@ function normalize_path()
# core logic
################################################################################

function list_local()
function list_packages_local()
{
local base="$BASHLETS_BASE/$(normalize_path $1)"
$BASHLETS_NAMESPACE local list_packages_tree "$base"
}


function list_origin()
function list_packages_origin()
{
$BASHLETS_NAMESPACE origin list_packages | sort
}
Expand Down Expand Up @@ -134,7 +134,7 @@ done
shift $((OPTIND-1))
base="$1"

list_$list_mode "$base"
list_packages_$list_mode "$base"


# Local variables:
Expand Down

0 comments on commit 4e4460c

Please sign in to comment.