diff --git a/cmd/modulectl/create/example.txt b/cmd/modulectl/create/example.txt index 93bf5e79..1434cd8c 100644 --- a/cmd/modulectl/create/example.txt +++ b/cmd/modulectl/create/example.txt @@ -1,2 +1,2 @@ Build a simple module and push it to a remote registry - modulectl create --module-config-file=/path/to/module-config-file --registry http://localhost:5001/unsigned --insecure \ No newline at end of file + modulectl create --config-file=/path/to/module-config-file --registry http://localhost:5001/unsigned --insecure \ No newline at end of file diff --git a/docs/gen-docs/modulectl_create.md b/docs/gen-docs/modulectl_create.md index c3c9f311..5bf002fa 100644 --- a/docs/gen-docs/modulectl_create.md +++ b/docs/gen-docs/modulectl_create.md @@ -54,7 +54,7 @@ modulectl create [--config-file MODULE_CONFIG_FILE] [--registry MODULE_REGISTRY] ```bash Build a simple module and push it to a remote registry - modulectl create --module-config-file=/path/to/module-config-file --registry http://localhost:5001/unsigned --insecure + modulectl create --config-file=/path/to/module-config-file --registry http://localhost:5001/unsigned --insecure ``` ## Flags diff --git a/tests/e2e/create/create_test.go b/tests/e2e/create/create_test.go index 4bb760cc..c26e009b 100644 --- a/tests/e2e/create/create_test.go +++ b/tests/e2e/create/create_test.go @@ -39,7 +39,7 @@ var _ = Describe("Test 'create' command", Ordered, func() { Context("Given 'modulectl create' command", func() { var cmd createCmd - It("When invoked with '--module-config-file' using file with missing name", func() { + It("When invoked with '--config-file' using file with missing name", func() { cmd = createCmd{ moduleConfigFile: missingNameConfig, } @@ -53,7 +53,7 @@ var _ = Describe("Test 'create' command", Ordered, func() { Context("Given 'modulectl create' command", func() { var cmd createCmd - It("When invoked with '--module-config-file' using file with missing channel", func() { + It("When invoked with '--config-file' using file with missing channel", func() { cmd = createCmd{ moduleConfigFile: missingChannelConfig, } @@ -67,7 +67,7 @@ var _ = Describe("Test 'create' command", Ordered, func() { Context("Given 'modulectl create' command", func() { var cmd createCmd - It("When invoked with '--module-config-file' using file with missing version", func() { + It("When invoked with '--config-file' using file with missing version", func() { cmd = createCmd{ moduleConfigFile: missingVersionConfig, } @@ -81,7 +81,7 @@ var _ = Describe("Test 'create' command", Ordered, func() { Context("Given 'modulectl create' command", func() { var cmd createCmd - It("When invoked with '--module-config-file' using file with missing manifest", func() { + It("When invoked with '--config-file' using file with missing manifest", func() { cmd = createCmd{ moduleConfigFile: missingManifestConfig, } @@ -165,7 +165,7 @@ var _ = Describe("Test 'create' command", Ordered, func() { Context("Given 'modulectl create' command", func() { var cmd createCmd - It("When invoked with '--module-config-file' using valid file", func() { + It("When invoked with '--config-file' using valid file", func() { cmd = createCmd{ moduleConfigFile: minimalConfig, }