From e5f35a424a0b69504b0438cb2c4e709b618e3f81 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sun, 4 May 2014 14:30:18 +0200 Subject: [PATCH] example: update usage info Signed-off-by: Felix Fietkau --- uclient-example.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) 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; } -- 2.30.2