From 7299d04285169760f88acab33e755f668408e62c Mon Sep 17 00:00:00 2001 From: Gergely Polonkai Date: Tue, 21 Nov 2017 08:47:42 +0100 Subject: [PATCH] =?UTF-8?q?Add=20parameter=20descriptions=20to=20test-clie?= =?UTF-8?q?nt=E2=80=99s=20parameters?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/test-client.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/test-client.c b/src/test-client.c index 17b1521..aa2ad1c 100644 --- a/src/test-client.c +++ b/src/test-client.c @@ -30,9 +30,9 @@ static gboolean no_validate_certs = FALSE; static gchar **homeserver = NULL; static GOptionEntry entries[] = { - {"user", 'u', 0, G_OPTION_ARG_STRING, &user}, - {"password", 'p', 0, G_OPTION_ARG_STRING, &password}, - {"no-validate-certs", 'n', 0, G_OPTION_ARG_NONE, &no_validate_certs}, + {"user", 'u', 0, G_OPTION_ARG_STRING, &user, "The username to login with", "username"}, + {"password", 'p', 0, G_OPTION_ARG_STRING, &password, "The password to login with", "password"}, + {"no-validate-certs", 'n', 0, G_OPTION_ARG_NONE, &no_validate_certs, "If set, certificates won’t be validated", NULL}, {G_OPTION_REMAINING, 0, 0, G_OPTION_ARG_FILENAME_ARRAY, &homeserver, "The homeserver to connect to", "homeserver"}, };