Skip to content

Commit 4ea314b

Browse files
committed
* [Improvement] - for aws help to support running on linux
2 parents 015641c + b0772a8 commit 4ea314b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

services/help.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ aws_history() {
2525
aws_help() {
2626
local aws_assume_role_main_function="aws_assume_role_set_name_with_hint"
2727
local function_list=$(
28-
cat ${AWS_CLI_SOURCE_SCRIPTS}/{services,common}/* |
28+
find ${AWS_CLI_SOURCE_SCRIPTS} -type f -name '*.sh' | xargs cat |
2929
grep -e "^aws*\(.+*\)" | tr -d "(){" |
3030
grep -v ${aws_assume_role_main_function} |
3131
sort

0 commit comments

Comments
 (0)