Commit 6fea92e4 authored by Ivan Tyagov's avatar Ivan Tyagov

Add key/cert CLI arguments.

parent 3dbb96ce
...@@ -39,9 +39,11 @@ static struct argp_option options[] = { ...@@ -39,9 +39,11 @@ static struct argp_option options[] = {
{"slave-address-list", 's', "0x58", 0, "Comma separated list of slave I2C addresses."}, {"slave-address-list", 's', "0x58", 0, "Comma separated list of slave I2C addresses."},
{"mode", 'm', "0", 0, "Set different modes of operation of coupler. Default (0) is set attached \ {"mode", 'm', "0", 0, "Set different modes of operation of coupler. Default (0) is set attached \
I2C's state state. Virtual (1) which does NOT set any I2C slaves' state."}, I2C's state state. Virtual (1) which does NOT set any I2C slaves' state."},
{ "username", 'u', "", 0, "Username."}, {"username", 'u', "", 0, "Username."},
{ "password", 'w', "", 0, "Password."}, {"password", 'w', "", 0, "Password."},
{ 0 } {"key", 'k', "", 0, "x509 key."},
{"certificate", 'c', "", 0, "X509 certificate."},
{0}
}; };
struct arguments struct arguments
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment