From: Felix Fietkau Date: Sun, 4 May 2014 12:30:18 +0000 (+0200) Subject: example: update usage info X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fuclient.git;a=commitdiff_plain;h=e5f35a424a0b69504b0438cb2c4e709b618e3f81 example: update usage info Signed-off-by: Felix Fietkau --- diff --git a/uclient-example.c b/uclient-example.c index dc5ef91..3bf8d29 100644 --- a/uclient-example.c +++ b/uclient-example.c @@ -129,10 +129,12 @@ static const struct uclient_cb cb = { static int usage(const char *progname) { fprintf(stderr, - "Usage: %s [options] \n" + "Usage: %s [options] \n" "Options:\n" - " -c : Load CA certificates from file \n" - " -C: Skip certificate CN verification against hostname\n" + "\n" + "HTTPS options:\n" + " --ca-certificate=: Load CA certificates from file \n" + " --no-check-certificate: don't validate the server's certificate\n" "\n", progname); return 1; }