Skip to content

Commit

Permalink
Update dfx-canister.mdx (#4114)
Browse files Browse the repository at this point in the history
  • Loading branch information
jessiemongeon1 authored Feb 19, 2025
1 parent c45ef75 commit f11b9ef
Showing 1 changed file with 1 addition and 1 deletion.
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

0 comments on commit f11b9ef

Please sign in to comment.