|
| ||||||||||||||||||||
SwitchesP7mTool is controlled through command line switches. Long and short namesSwitches have two forms: a short one , two-characters long eg. -ce , and a long one, with full switch name, eg. --EncryptTo. The short form is recognized by one dash and the long form by two dashes in front of the switch name. Letter case is not important, so --encryptto and --EncryptTo would be equivalent. Switches valuesSome switches have a value or multiple values, while others have no value. The value of a switch is given by appending the value to the switch name, either prepended with a space or directly after the switch name. The values are separated from each other by semicolon (;) or space.
To provide a value with a space in it, sorround it with double quotation mark (").
In the example above:
Switch occurencesThe same switch can be repeated in the switch list. Their consecutive values are attached to the value list in the order they appear in the command line. The order of their occurence will kept in the message, when this is meaningful, eg. in concatenating content, ordering certificates etc.
Importing switchesGroups of switches can be read from a file using --CommandFile switch. See --CommandFile switch for details and examples. * SyntaxThere are two basic ways of defining a switch's value:
| |||||||||||||||||||||
| |||||||||||||||||||||