Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/cli-reference/dfx-canister.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ You can use the following options with the `dfx canister call` command.
| `--candid <file.did>` | Provide the .did file with which to decode the response. Overrides value from dfx.json for project canisters. |
| `--impersonate <principal>` | Specifies a principal on behalf of which requests to a local PocketIC instance are sent. |
| `--output <output>` | Specifies the output format to use when displaying a method’s return result. The valid values are `idl`, 'json', `pp` and `raw`. The `pp` option is equivalent to `idl`, but is pretty-printed. |
| `--query` | Sends a query request instead of an update request. For information about the difference between query and update calls, see [Canisters include both program and state](/docs/current/concepts/canisters-code#canister-state). |
| `--query` | Sends a query request instead of an update request. For information about the difference between query and update calls, see [Canisters include both program and state](https://internetcomputer.org/docs/current/concepts/canisters-code). |
| `--random <random>` | Specifies the config for generating random arguments. |
| `--type <type>` | Specifies the data format for the argument when making the call using an argument. The valid values are `idl` and `raw`. |
| `--update` | Sends an update request to a canister. This is the default if the method is not a query method. |
Expand Down
Loading