[OE-core] [PATCH 1/1] send-error-report: Add --no-ssl to use http protocol
Yang, Liezhi
Liezhi.Yang at windriver.com
Mon Mar 4 11:43:56 UTC 2019
Thanks, looks good, I will update it.
// Robert
Sent from mobile phone
> 在 2019年3月4日,18:57,Burton, Ross <ross.burton at intel.com> 写道:
>
>> On Mon, 4 Mar 2019 at 10:30, Robert Yang <liezhi.yang at windriver.com> wrote:
>> + arg_parse.add_argument("--no-ssl",
>> + help="Use http instead of https protocol",
>> + action="store_true")
>
> If you do this instead:
>
> arg_parse.add_argument("--no-ssl", help="Use http instead of https protocol",
> dest="protocol", action="store_const", const="http", default="https")
>
> Then you can just use args.protocol instead of having to pass around
> the protocol name.
>
> Ross
More information about the Openembedded-core
mailing list