Skip to content
This repository was archived by the owner on Dec 2, 2020. It is now read-only.

Commit 3c88cd3

Browse files
committed
Fix help text typos
1 parent f55b9ff commit 3c88cd3

File tree

2 files changed

+12
-13
lines changed

2 files changed

+12
-13
lines changed

README.md

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -31,17 +31,16 @@ USAGE:
3131
img2lambda [options]
3232
3333
GLOBAL OPTIONS:
34-
--image value, -i value Name of the source container image. For example, 'my-docker-image:latest'. The Docker image must be pulled locally already.
35-
--region value, -r value AWS region (default: "us-east-1")
36-
--output-directory value, -o value Destination directory for command output (default: "./output")
37-
--layer-namespace value, -n value Prefix for the layers published to Lambda (default: "img2lambda")
38-
--dry-run, -d Conduct a dry-run: Repackage the image, but only write the Lambda layers to local disk (do not publish to Lambda)
39-
--description value, --desc value The description of this layer version (default: "created by img2lambda from image <name of the image>")
40-
--license-info value, -l value The layer's software license. It can be an SPDX license identifier, the URL of the license hosted on the internet, or the full text of the license (default: no license)
41-
--compatible-runtime value --compatible-runtime value,
42-
--cr value --cr value An AWS Lambda function runtime compatible with the image layers. To specify multiple runtimes, repeat the option: --cr provided --cr python2.7 (default: "provided" )
43-
44-
--help, -h show help
34+
--image value, -i value Name of the source container image. For example, 'my-docker-image:latest'. The Docker image must be pulled locally already.
35+
--region value, -r value AWS region (default: "us-east-1")
36+
--output-directory value, -o value Destination directory for command output (default: "./output")
37+
--layer-namespace value, -n value Prefix for the layers published to Lambda (default: "img2lambda")
38+
--dry-run, -d Conduct a dry-run: Repackage the image, but only write the Lambda layers to local disk (do not publish to Lambda)
39+
--description value, --desc value The description of this layer version (default: "created by img2lambda from image <name of the image>")
40+
--license-info value, -l value The layer's software license. It can be an SPDX license identifier, the URL of the license hosted on the internet, or the full text of the license (default: no license)
41+
--compatible-runtime value, --cr value An AWS Lambda function runtime compatible with the image layers. To specify multiple runtimes, repeat the option: --cr provided --cr python2.7 (default: "provided")
42+
--help, -h show help
43+
--version, -v print the version
4544
```
4645

4746
## Install

img2lambda/cli/main.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,12 +66,12 @@ func createApp() (*cli.App, *types.CmdOptions) {
6666
},
6767
cli.StringFlag{
6868
Name: "license-info, l",
69-
Usage: "The layer's software license. It can be an SPDX license identifier, the URL of the license hosted on the internet, or the full text of the license (default: \"no license\"",
69+
Usage: "The layer's software license. It can be an SPDX license identifier, the URL of the license hosted on the internet, or the full text of the license (default: no license)",
7070
Destination: &opts.LicenseInfo,
7171
},
7272
cli.StringSliceFlag{
7373
Name: "compatible-runtime, cr",
74-
Usage: "An AWS Lambda function runtime compatible with the image layers. To specify multiple runtimes, repeat the option: --cr provided --cr python2.7 (default: \"provided\" )",
74+
Usage: "An AWS Lambda function runtime compatible with the image layers. To specify multiple runtimes, repeat the option: --cr provided --cr python2.7 (default: \"provided\")",
7575
Value: &cli.StringSlice{},
7676
},
7777
}

0 commit comments

Comments
 (0)