[go: nahoru, domu]

Skip to content

Commit

Permalink
Update title for arguments in a terminal (dfinity#322)
Browse files Browse the repository at this point in the history
  • Loading branch information
lsgunnlsgunn committed Feb 9, 2021
1 parent a2c5c5b commit e3922ed
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ The canister method is a required argument.
Depending on your program logic, the argument can be a required or optional argument.
You can specify a data format type using the `+--type+` option if you pass an argument to the canister.
By default, you can specify arguments using the link:../../candid-guide/candid-intro{outfilesuffix}[Candid] (`+idl+`) syntax for data values.
For information about using Candid and its supported types, see link:../../candid-guide/candid-howto{outfilesuffix}#idl-syntax[Pass arguments in a terminal] and link:../../candid-guide/candid-types{outfilesuffix}[Supported types].
For information about using Candid and its supported types, see link:../../candid-guide/candid-howto{outfilesuffix}#idl-syntax[Interact with a service in a terminal] and link:../../candid-guide/candid-types{outfilesuffix}[Supported types].
You can use `+raw+` as the argument type if you want to pass raw bytes to a canister.
|===

Expand Down Expand Up @@ -406,7 +406,7 @@ You can use the following options with the `+dfx canister install+` command.

|`+--argument-type <argument-type>+` |Specifies the data format for the argument when you install using the `+--argument+` option. The valid values are `+idl+` and `+raw+`.
By default, you can specify arguments using the link:../../candid-guide/candid-intro{outfilesuffix}[Candid] (`+idl+`) syntax for data values.
For information about using Candid and its supported types, see link:../../candid-guide/candid-howto{outfilesuffix}#idl-syntax[Pass arguments in a terminal] and link:../../candid-guide/candid-types{outfilesuffix}[Supported types].
For information about using Candid and its supported types, see link:../../candid-guide/candid-howto{outfilesuffix}#idl-syntax[Interact with a service in a terminal] and link:../../candid-guide/candid-types{outfilesuffix}[Supported types].
You can use `+raw+` as the argument type if you want to pass raw bytes to a canister.

|`+-c+`, `+--compute-allocation <compute-allocation>+` |Defines a compute allocation—essentially the equivalent of setting a CPU allocation—for canister execution.
Expand Down

0 comments on commit e3922ed

Please sign in to comment.