Add parameter descriptions to test-client’s parameters

This commit is contained in:
Gergely Polonkai 2017-11-21 08:47:42 +01:00
parent c44a8427c1
commit d98a426dc7

View File

@ -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 wont be validated", NULL},
{G_OPTION_REMAINING, 0, 0, G_OPTION_ARG_FILENAME_ARRAY, &homeserver, "The homeserver to connect to", "homeserver"},
};