Skip to content

Fix sqlserverflex user command descriptions #388

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jun 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/stackit_beta_sqlserverflex_user_create.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ stackit beta sqlserverflex user create [flags]
$ stackit beta sqlserverflex user create --instance-id xxx --username johndoe --roles my-role --database my-database

Create a SQLServer Flex user for instance with ID "xxx", specifying multiple roles
$ stackit beta sqlserverflex user create --instance-id xxx --username johndoe --roles "my-role-1,my-role-2
$ stackit beta sqlserverflex user create --instance-id xxx --username johndoe --roles "my-role-1,my-role-2"
```

### Options
Expand Down
2 changes: 1 addition & 1 deletion docs/stackit_beta_sqlserverflex_user_reset-password.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Resets the password of a SQLServer Flex user
### Synopsis

Resets the password of a SQLServer Flex user.
sThe new password is visible after resetting and cannot be retrieved later.
The new password is visible after resetting and cannot be retrieved later.

```
stackit beta sqlserverflex user reset-password USER_ID [flags]
Expand Down
2 changes: 1 addition & 1 deletion internal/cmd/beta/sqlserverflex/user/create/create.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ func NewCmd(p *print.Printer) *cobra.Command {
"$ stackit beta sqlserverflex user create --instance-id xxx --username johndoe --roles my-role --database my-database"),
examples.NewExample(
`Create a SQLServer Flex user for instance with ID "xxx", specifying multiple roles`,
`$ stackit beta sqlserverflex user create --instance-id xxx --username johndoe --roles "my-role-1,my-role-2`),
`$ stackit beta sqlserverflex user create --instance-id xxx --username johndoe --roles "my-role-1,my-role-2"`),
),
Args: args.NoArgs,
RunE: func(cmd *cobra.Command, args []string) error {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ func NewCmd(p *print.Printer) *cobra.Command {
cmd := &cobra.Command{
Use: fmt.Sprintf("reset-password %s", userIdArg),
Short: "Resets the password of a SQLServer Flex user",
Long: fmt.Sprintf("%s\ns%s",
Long: fmt.Sprintf("%s\n%s",
"Resets the password of a SQLServer Flex user.",
"The new password is visible after resetting and cannot be retrieved later.",
),
Expand Down