Skip to content

Commit ede4651

Browse files
authored
Merge pull request cloudfoundry#347 from wbean1/revisions
Correct command to get app guid in revisions doc
2 parents d467151 + 95b249c commit ede4651

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

revisions.html.md.erb

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ To enable revisions for an app, do the following:
5757
1. Get the GUID of the app:
5858

5959
```
60-
cf APP-NAME --guid
60+
cf app APP-NAME --guid
6161
```
6262

6363
1. Run the following command:
@@ -78,7 +78,7 @@ To list revisions for an app, do the following:
7878
1. Get the GUID of the app:
7979

8080
```
81-
cf APP-NAME --guid
81+
cf app APP-NAME --guid
8282
```
8383

8484
1. Run the following command:
@@ -96,7 +96,7 @@ Deployed revisions are revisions linked to started processes in an app. To list
9696
1. Get the GUID of the app:
9797

9898
```
99-
cf APP-NAME --guid
99+
cf app APP-NAME --guid
100100
```
101101

102102
1. Run the following command:
@@ -124,15 +124,15 @@ To roll back to a previous revision, do the following:
124124
1. Get the GUID of the app:
125125

126126
```
127-
cf APP-NAME --guid
127+
cf app APP-NAME --guid
128128
```
129129

130130
1. Get the GUID of the revision. See [View Revisions](#view).
131131

132132
1. Create a deployment using CAPI:
133133

134134
```
135-
cf curl v3/deployments" \
135+
cf curl v3/deployments \
136136
-X POST \
137137
-d '{
138138
"revision": {
@@ -157,4 +157,4 @@ To roll back to a previous revision, do the following:
157157
To add metadata to a revision, follow the steps to [Add Metadata to an Object](../adminguide/metadata.html).
158158
<% else %>
159159
To add metadata to a revision, follow the steps to [Add Metadata to an Object](https://docs.cloudfoundry.org/adminguide/metadata.html).
160-
<% end %>
160+
<% end %>

0 commit comments

Comments
 (0)