Skip to content

Commit 5801bc3

Browse files
fix: edit messages
1 parent 75d6df6 commit 5801bc3

File tree

1 file changed

+15
-9
lines changed

1 file changed

+15
-9
lines changed

messages/refresh.sandbox.md

Lines changed: 15 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Refresh a sandbox org using the sandbox name.
44

55
# description
66

7-
Refreshing a sandbox copies the metadata, and optionally data, from your source org to the refreshed sandbox org. You can optionally specify a definition file if you want to change the configuration of the refreshed sandbox, such as its license type or template ID.
7+
Refreshing a sandbox copies the metadata, and optionally data, from your source org to the refreshed sandbox org. You can optionally specify a definition file if you want to change the configuration of the refreshed sandbox, such as its license type or template ID. You can also use the --source-id or --source-sandbox-name flags to change the refreshed sandbox org's original source org to a new org; in this case, the refreshed sandbox org's metadata is updated with the new source org's metadata.
88

99
You're not allowed to change the sandbox name when you refresh it with this command. If you want to change the sandbox name, first delete it with the "org delete sandbox" command. And then recreate it with the "org create sandbox" command and give it a new name.
1010

@@ -22,6 +22,10 @@ You're not allowed to change the sandbox name when you refresh it with this comm
2222

2323
<%= config.bin %> <%= command.id %> --definition-file devSbx3-config.json --target-org prodOrg
2424

25+
- Refresh the sandbox named "devSbx2" by changing its original source org to be a sandbox called "devSbx3":
26+
27+
<%= config.bin %> <%= command.id %> --name devSbx2 --source-sandbox-name devSbx3 --target-org prodOrg
28+
2529
# flags.no-auto-activate.summary
2630

2731
Disable auto-activation of the sandbox after a successful refresh.
@@ -109,30 +113,32 @@ The sandbox org refresh failed with a result of %s.
109113

110114
# flags.source-sandbox-name.summary
111115

112-
Name of the sandbox org to clone.
116+
Name of the sandbox org that becomes the new source org for the refreshed sandbox.
113117

114118
# flags.source-sandbox-name.description
115119

116-
The value of --source-sandbox-name must be an existing sandbox. The existing sandbox, and the new sandbox specified with the --name flag, must both be associated with the production org (--target-org) that contains the sandbox licenses.
120+
The value of --source-sandbox-name must be an existing sandbox. The new source sandbox, and the refreshed sandbox specified with the --name flag, must both be associated with the production org (--target-org) that contains the sandbox licenses.
117121

118-
You can specify either --source-sandbox-name or --source-id when cloning an existing sandbox, but not both.
122+
You can specify either --source-sandbox-name or --source-id when refreshing an existing sandbox, but not both.
119123

120124
# flags.source-id.summary
121125

122-
ID of the sandbox org to clone.
126+
ID of the sandbox org that becomes the new source org for the refreshed sandbox.
123127

124128
# flags.source-id.description
125129

126-
The value of --source-id must be an existing sandbox. The existing sandbox, and the new sandbox specified with the --name flag, must both be associated with the production org (--target-org) that contains the sandbox licenses.
130+
The value of --source-id must be an existing sandbox. The new source sandbox, and the refreshed sandbox specified with the --name flag, must both be associated with the production org (--target-org) that contains the sandbox licenses.
131+
132+
You can specify either --source-id or --source-sandbox-name when refreshing an existing sandbox, but not both.
127133

128134
# error.bothIdFlagAndDefFilePropertyAreProvided
129135

130-
You can't specify both the --source-id and --definition-file flags, and also include the "SourceId" option in the definition file. Pick one method of cloning a sandbox and try again.
136+
You can't specify both the --source-id and --definition-file flags, and also include the "SourceId" option in the definition file. Pick one method of refreshing a sandbox and try again.
131137

132138
# error.bothNameFlagAndDefFilePropertyAreProvided
133139

134-
You can't specify both the --source-sandbox-name and --definition-file flags, and also include the "SourceSandboxName" option in the definition file. Pick one method of cloning a sandbox and try again.
140+
You can't specify both the --source-sandbox-name and --definition-file flags, and also include the "SourceSandboxName" option in the definition file. Pick one method of refreshing a sandbox and try again.
135141

136142
# error.bothIdFlagAndNameDefFileAreNotAllowed
137143

138-
You can't specify both the --source-sandbox-name and --definition-file flags, and also include the "SourceId" option in the definition file. Same with the --source-id flag and "SourceSandboxName" option. Pick one method of cloning a sandbox and try again.
144+
You can't specify both the --source-sandbox-name and --definition-file flags, and also include the "SourceId" option in the definition file. Same with the --source-id flag and "SourceSandboxName" option. Pick one method of refreshing a sandbox and try again.

0 commit comments

Comments
 (0)