Skip to content

Commit

Permalink
Rename server-enroll to server when creating servers (#78)
Browse files Browse the repository at this point in the history
* rename server-enroll to server

* rename to servers
  • Loading branch information
Alva8756 authored Dec 4, 2023
1 parent e4d6a33 commit 197713f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion cmd/create/serverenroll.go → cmd/create/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ var (
)

var serverEnroll = &cobra.Command{
Use: "server-enroll",
Use: "server",
Short: "Enroll server and publish conditions",
Run: func(cmd *cobra.Command, args []string) {
enrollServer(cmd.Context())
Expand Down
2 changes: 1 addition & 1 deletion docs/mctl_create.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,5 @@ mctl create [flags]
* [mctl create bom](mctl_create_bom.md) - Upload Bom File
* [mctl create firmware](mctl_create_firmware.md) - Create firmware
* [mctl create firmware-set](mctl_create_firmware-set.md) - Create a firmware set
* [mctl create server-enroll](mctl_create_server-enroll.md) - Enroll server and publish conditions
* [mctl create server](mctl_create_server.md) - Enroll server and publish conditions

Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
[Auto generated by spf13/cobra]: <>

## mctl create server-enroll
## mctl create server

Enroll server and publish conditions

```
mctl create server-enroll [flags]
mctl create server [flags]
```

### Options

```
--facility string facility of the server
-h, --help help for server-enroll
-h, --help help for server
--ip string ip of the server
--pwd string password of the server
--server-id string server id to be created. New id will be created if null.
Expand Down

0 comments on commit 197713f

Please sign in to comment.