Skip to content

Commit 0364933

Browse files
Fixed the document for canister snapshot with '--replace' option. (#4321)
1 parent e38c53b commit 0364933

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/cli-reference/dfx-canister.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -912,7 +912,7 @@ You can use the following arguments with the `dfx canister snapshot create` comm
912912
| Argument | Description |
913913
|-----------------------|--------------------------------------------------------------------------------|
914914
| `<canister>` | The canister to snapshot. |
915-
| `--replace <replace>` | If a snapshot ID is specified, this snapshot will replace it and reuse the ID. |
915+
| `--replace <replace>` | If a snapshot ID is specified, the snapshot identified by this ID will be deleted and a snapshot with a new ID will be returned. |
916916

917917
### Examples
918918

@@ -1060,7 +1060,7 @@ You can use the following arguments with the `dfx canister snapshot upload` comm
10601060
|-----------------------|--------------------------------------------------------------------------------|
10611061
| `<canister>` | The canister to upload the snapshot to. |
10621062
| --dir `<dir>` | The directory to upload the snapshot from. |
1063-
| --replace `<replace>` | If a snapshot ID is specified, this snapshot will replace it and reuse the ID. | |
1063+
| --replace `<replace>` | If a snapshot ID is specified, the snapshot identified by this ID will be deleted and a snapshot with a new ID will be returned. |
10641064

10651065
### Examples
10661066

0 commit comments

Comments
 (0)