Skip to content

Commit b0772a8

Browse files
committed
[Improvement] - for aws help to support running on linux
1 parent 2b7ea3b commit b0772a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

services/help.sh

Lines changed: 1 addition & 1 deletion
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)