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

Commit 163733b

Browse files
asahasrabuddheclareliguori
authored andcommitted
update default values for description and license in readme (#14)
update default values for description and license in readme
1 parent bc4b087 commit 163733b

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ GLOBAL OPTIONS:
3636
--output-directory value, -o value Destination directory for command output (default: "./output")
3737
--layer-namespace value, -n value Prefix for the layers published to Lambda (default: "img2lambda")
3838
--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
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
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)
4141
4242
--help, -h show help
4343
```

img2lambda/cli/main.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,12 +58,12 @@ func createApp() (*cli.App, *types.CmdOptions) {
5858
},
5959
cli.StringFlag{
6060
Name: "description, desc",
61-
Usage: "The description of this layer version",
61+
Usage: "The description of this layer version (default: \"created by img2lambda from image <name of the image>\")",
6262
Destination: &opts.Description,
6363
},
6464
cli.StringFlag{
6565
Name: "license-info, l",
66-
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",
66+
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\"",
6767
Destination: &opts.LicenseInfo,
6868
},
6969
}

0 commit comments

Comments
 (0)