Skip to content

Commit 585cd31

Browse files
authored
Merge pull request #167 from tamsky/patch-1
codebuild_build.sh: add/cleanup detail in usage()
2 parents 0ae568c + 42a371a commit 585cd31

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

local_builds/codebuild_build.sh

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -34,14 +34,14 @@ function usage {
3434
echo " -i Used to specify the customer build container image."
3535
echo " -a Used to specify an artifact output directory."
3636
echo "Options:"
37-
echo " -l Used to override the default local agent image."
38-
echo " -s Used to specify a source directory. Defaults to the current working directory."
37+
echo " -l IMAGE Used to override the default local agent image."
38+
echo " -s DIR Used to specify a source directory. Defaults to the current working directory."
3939
echo " -c Use the AWS configuration and credentials from your local host. This includes ~/.aws and any AWS_* environment variables."
40-
echo " -b Used to specify a buildspec override file. Defaults to buildspec.yml in the source directory."
41-
echo " -e Used to specify a file containing environment variables."
40+
echo " -b FILE Used to specify a buildspec override file. Defaults to buildspec.yml in the source directory."
4241
echo " -m Used to mount the source directory to the customer build container directly."
43-
echo " Environment variable file format:"
44-
echo " * Expects each line to be in VAR=VAL format"
42+
echo " -e FILE Used to specify a file containing environment variables."
43+
echo " (-e) File format expectations:"
44+
echo " * Each line is in VAR=VAL format"
4545
echo " * Lines beginning with # are processed as comments and ignored"
4646
echo " * Blank lines are ignored"
4747
echo " * File can be of type .env or .txt"
@@ -162,4 +162,4 @@ echo ""
162162
echo $exposed_command
163163
echo ""
164164

165-
eval $docker_command
165+
eval $docker_command

0 commit comments

Comments
 (0)