Skip to content

Commit d2f733b

Browse files
committed
Remove references to gen
1 parent 39e4922 commit d2f733b

File tree

3 files changed

+7
-9
lines changed

3 files changed

+7
-9
lines changed

bin/commands/cmd_config.ml

+3-3
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ let exits = Common.exits
2424

2525
let envs = Common.envs
2626

27-
let man_xrefs = [ `Main; `Cmd "new"; `Cmd "gen" ]
27+
let man_xrefs = [ `Main; `Cmd "new" ]
2828

2929
let man =
3030
[ `S Manpage.s_description
@@ -35,8 +35,8 @@ let man =
3535
; `P
3636
"Unless `--ignore-config` is used, the configuration values stored in \
3737
`\\$SPIN_CONFIG_DIR/config` will be used when creating new projects \
38-
(with spin-new(1)) or components (with spin-gen(2)) and the user will \
39-
not be prompted for configuration that have been saved."
38+
(with spin-new(1)) and the user will not be prompted for configuration \
39+
that have been saved."
4040
]
4141

4242
let info = Term.info "config" ~doc ~sdocs ~exits ~envs ~man ~man_xrefs

bin/main.ml

+2-4
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ Usage:
1414

1515
Available Commands:
1616
config Update the current user's configuration
17-
gen Generate a new component in the current project
1817
ls List the official templates
1918
new Generate a new project from a template
2019

@@ -59,11 +58,10 @@ let man =
5958
"The following commands will create a new command line interface and \
6059
generate a subcommand $(b,my-cmd) in it."
6160
; `Noblank
62-
; `Pre
63-
{|
61+
; `Pre {|
6462
\$ spin new cli my-cli
6563
\$ cd my-cli
66-
\$ spin gen cmd my-cmd|}
64+
\$ make build|}
6765
; `S Manpage.s_common_options
6866
; `S Manpage.s_exit_status
6967
; `S Manpage.s_environment

doc/cli.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@ that will be saved in `$SPIN_CONFIG_DIR/config`
4949

5050
Unless `--ignore-config` is used, the configuration values stored in
5151
`$SPIN_CONFIG_DIR/config` will be used when creating new projects (with
52-
`new`) or components (with `gen`) and the user will not be
53-
prompted for configuration that have been saved.
52+
`new`) and the user will not be prompted for configuration that have
53+
been saved.
5454

5555
### Options
5656

0 commit comments

Comments
 (0)