Skip to content

Commit a124a71

Browse files
mattmundelltimopollmeier
authored andcommitted
Change: Sort args alphabetically
1 parent 1f12b5e commit a124a71

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

src/gvmd.c

+8-8
Original file line numberDiff line numberDiff line change
@@ -2034,6 +2034,10 @@ gvmd (int argc, char** argv, char *env[])
20342034
&priorities,
20352035
"Sets the GnuTLS priorities for the Manager socket.",
20362036
"<priorities-string>" },
2037+
{ "hashcount", '\0', 0, G_OPTION_ARG_CALLBACK,
2038+
parse_authentication_goption_arg,
2039+
"Use <hashcount> to enhance the computational cost of creating a password hash.",
2040+
"<hashcount>" },
20372041
{ "inheritor", '\0', 0, G_OPTION_ARG_STRING,
20382042
&inheritor,
20392043
"Have <username> inherit from deleted user.",
@@ -2114,6 +2118,10 @@ gvmd (int argc, char** argv, char *env[])
21142118
&password,
21152119
"Password, for --create-user.",
21162120
"<password>" },
2121+
{ "pepper", '\0', 0, G_OPTION_ARG_CALLBACK,
2122+
parse_authentication_goption_arg,
2123+
"Use <pepper> to statically enhance salt of password hashes (maximal 4 character).",
2124+
"<pepper>" },
21172125
{ "port", 'p', 0, G_OPTION_ARG_STRING,
21182126
&manager_port_string,
21192127
"Use port number <number>.",
@@ -2227,14 +2235,6 @@ gvmd (int argc, char** argv, char *env[])
22272235
&verify_scanner,
22282236
"Verify scanner <scanner-uuid> and exit.",
22292237
"<scanner-uuid>" },
2230-
{ "pepper", '\0', 0, G_OPTION_ARG_CALLBACK,
2231-
parse_authentication_goption_arg,
2232-
"Use <pepper> to statically enhance salt of password hashes (maximal 4 character).",
2233-
"<pepper>" },
2234-
{ "hashcount", '\0', 0, G_OPTION_ARG_CALLBACK,
2235-
parse_authentication_goption_arg,
2236-
"Use <hashcount> to enhance the computational cost of creating a password hash.",
2237-
"<hashcount>" },
22382238
{ "version", '\0', 0, G_OPTION_ARG_NONE,
22392239
&print_version,
22402240
"Print version and exit.",

0 commit comments

Comments
 (0)