Skip to content

Commit 9023334

Browse files
committed
Balance whitespace for publish command
Signed-off-by: Alex Ellis (OpenFaaS Ltd) <[email protected]>
1 parent b6579f2 commit 9023334

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

commands/publish.go

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -54,18 +54,18 @@ func init() {
5454
var publishCmd = &cobra.Command{
5555
Use: `publish -f YAML_FILE [--no-cache] [--squash]
5656
faas-cli publish --image IMAGE_NAME
57-
--handler HANDLER_DIR
58-
--name FUNCTION_NAME
59-
[--lang <ruby|python|python3|node|csharp|dockerfile>]
60-
[--no-cache] [--squash]
61-
[--regex "REGEX"]
62-
[--filter "WILDCARD"]
63-
[--parallel PARALLEL_DEPTH]
64-
[--publish-arg KEY=VALUE]
65-
[--publish-option VALUE]
66-
[--copy-extra PATH]
67-
[--tag <sha|branch|describe>]
68-
[--platforms linux/arm/v7]`,
57+
--handler HANDLER_DIR
58+
--name FUNCTION_NAME
59+
[--lang <ruby|python|python3|node|csharp|dockerfile>]
60+
[--no-cache] [--squash]
61+
[--regex "REGEX"]
62+
[--filter "WILDCARD"]
63+
[--parallel PARALLEL_DEPTH]
64+
[--publish-arg KEY=VALUE]
65+
[--publish-option VALUE]
66+
[--copy-extra PATH]
67+
[--tag <sha|branch|describe>]
68+
[--platforms linux/arm/v7]`,
6969
Short: "Builds OpenFaaS function containers",
7070
Long: `Builds OpenFaaS function containers either via the supplied YAML config using
7171
the "--yaml" flag (which may contain multiple function definitions), or directly
@@ -79,7 +79,7 @@ via flags.`,
7979
faas-cli publish -f ./stack.yml --filter "*gif*"
8080
faas-cli publish -f ./stack.yml --regex "fn[0-9]_.*"
8181
faas-cli publish --image=my_image --lang=python --handler=/path/to/fn/
82-
--name=my_fn --squash
82+
--name=my_fn --squash
8383
faas-cli publish -f ./stack.yml --publish-label org.label-schema.label-name="value"`,
8484
PreRunE: preRunBuild,
8585
RunE: runPublish,

0 commit comments

Comments
 (0)