File tree Expand file tree Collapse file tree 4 files changed +13
-2
lines changed Expand file tree Collapse file tree 4 files changed +13
-2
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,14 @@ Show details of a domain mapping
6
6
kn domain describe NAME
7
7
```
8
8
9
+ ### Examples
10
+
11
+ ```
12
+
13
+ # Show details of for the domain 'hello.example.com'
14
+ kn domain describe hello.example.com
15
+ ```
16
+
9
17
### Options
10
18
11
19
```
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ kn domain list
14
14
kn domain list
15
15
16
16
# List all domain mappings in JSON output format
17
- kn revision list -o json
17
+ kn domain list -o json
18
18
```
19
19
20
20
### Options
Original file line number Diff line number Diff line change @@ -35,6 +35,9 @@ func NewDomainMappingDescribeCommand(p *commands.KnParams) *cobra.Command {
35
35
cmd := & cobra.Command {
36
36
Use : "describe NAME" ,
37
37
Short : "Show details of a domain mapping" ,
38
+ Example : `
39
+ # Show details of for the domain 'hello.example.com'
40
+ kn domain describe hello.example.com` ,
38
41
RunE : func (cmd * cobra.Command , args []string ) error {
39
42
if len (args ) != 1 {
40
43
return errors .New ("'kn domain describe' requires name of the domain mapping as single argument" )
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ func NewDomainMappingListCommand(p *commands.KnParams) *cobra.Command {
35
35
kn domain list
36
36
37
37
# List all domain mappings in JSON output format
38
- kn revision list -o json` ,
38
+ kn domain list -o json` ,
39
39
RunE : func (cmd * cobra.Command , args []string ) error {
40
40
namespace , err := p .GetNamespace (cmd )
41
41
if err != nil {
You can’t perform that action at this time.
0 commit comments