Skip to content

Commit 9030b23

Browse files
soniasinglalumtisfadeev
authored
improvement(cmd): rename --no-default-module to --no-module (ignite#1346)
* rename(cmd): rename --no-default-module to --no-module Signed-off-by: Sonia Singla <soniasingla.1812@gmail.com> * Update docs/cli/index.md Co-authored-by: Lucas Bertrand <lucas.bertrand.22@gmail.com> Co-authored-by: Lucas Bertrand <lucas.bertrand.22@gmail.com> Co-authored-by: Denis Fadeev <denis@fadeev.org>
1 parent f49195f commit 9030b23

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

docs/cli/index.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -961,7 +961,7 @@ starport scaffold chain [github.com/org/repo] [flags]
961961
```
962962
--address-prefix string Address prefix (default "cosmos")
963963
-h, --help help for chain
964-
--no-default-module Prevent scaffolding a default module in the app
964+
--no-module Prevent scaffolding a default module in the app
965965
```
966966

967967
**SEE ALSO**
@@ -1081,4 +1081,3 @@ starport version [flags]
10811081
**SEE ALSO**
10821082

10831083
* [starport](#starport) - A developer tool for building Cosmos SDK blockchains
1084-

integration/cmd_app_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ func TestGenerateAnAppWithNoDefaultModule(t *testing.T) {
3838
"scaffold",
3939
"chain",
4040
fmt.Sprintf("github.com/test/%s", appName),
41-
"--no-default-module",
41+
"--no-module",
4242
),
4343
step.Workdir(root),
4444
)),

starport/cmd/scaffold_chain.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import (
1111

1212
const (
1313
flagAddressPrefix = "address-prefix"
14-
flagNoDefaultModule = "no-default-module"
14+
flagNoDefaultModule = "no-module"
1515
)
1616

1717
// NewScaffoldChain creates new command to scaffold a Comos-SDK based blockchain.

0 commit comments

Comments
 (0)