Skip to content

Commit

Permalink
docs: fix the wrong correction. -som is correct
Browse files Browse the repository at this point in the history
  • Loading branch information
suzuki-shunsuke committed Oct 27, 2024
1 parent 522951e commit e6a6b9f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions docs/v1/examples/combining-short-options.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ or for individual commands by attaching it to the command configuration. For
example:

<!-- {
"args": ["short", "&#45;some", "Some message"],
"args": ["short", "&#45;som", "Some message"],
"output": "serve: true\noption: true\nmessage: Some message\n"
} -->
``` go
Expand Down Expand Up @@ -63,7 +63,7 @@ and `-m` respectively, setting `UseShortOptionHandling` will also support the
following syntax:

```
$ cmd -some "Some message"
$ cmd -som "Some message"
```

If you enable `UseShortOptionHandling`, then you must not use any flags that
Expand Down
4 changes: 2 additions & 2 deletions docs/v2/examples/combining-short-options.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ or for individual commands by attaching it to the command configuration. For
example:

<!-- {
"args": ["short", "&#45;some", "Some message"],
"args": ["short", "&#45;som", "Some message"],
"output": "serve: true\noption: true\nmessage: Some message\n"
} -->
```go
Expand Down Expand Up @@ -65,7 +65,7 @@ and `-m` respectively, setting `UseShortOptionHandling` will also support the
following syntax:

```sh-session
$ cmd -some "Some message"
$ cmd -som "Some message"
```

If you enable `UseShortOptionHandling`, then you must not use any flags that
Expand Down
4 changes: 2 additions & 2 deletions docs/v3/examples/combining-short-options.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ or for individual commands by attaching it to the command configuration. For
example:

<!-- {
"args": ["short", "&#45;some", "Some message"],
"args": ["short", "&#45;som", "Some message"],
"output": "serve: true\noption: true\nmessage: Some message\n"
} -->
```go
Expand Down Expand Up @@ -66,7 +66,7 @@ and `-m` respectively, setting `UseShortOptionHandling` will also support the
following syntax:

```sh-session
$ cmd -some "Some message"
$ cmd -som "Some message"
```

If you enable `UseShortOptionHandling`, then you must not use any flags that
Expand Down

0 comments on commit e6a6b9f

Please sign in to comment.