Skip to content

Commit

Permalink
Change: Sort args alphabetically
Browse files Browse the repository at this point in the history
  • Loading branch information
mattmundell authored and timopollmeier committed Oct 12, 2023
1 parent 1f12b5e commit a124a71
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/gvmd.c
Original file line number Diff line number Diff line change
Expand Up @@ -2034,6 +2034,10 @@ gvmd (int argc, char** argv, char *env[])
&priorities,
"Sets the GnuTLS priorities for the Manager socket.",
"<priorities-string>" },
{ "hashcount", '\0', 0, G_OPTION_ARG_CALLBACK,
parse_authentication_goption_arg,
"Use <hashcount> to enhance the computational cost of creating a password hash.",
"<hashcount>" },
{ "inheritor", '\0', 0, G_OPTION_ARG_STRING,
&inheritor,
"Have <username> inherit from deleted user.",
Expand Down Expand Up @@ -2114,6 +2118,10 @@ gvmd (int argc, char** argv, char *env[])
&password,
"Password, for --create-user.",
"<password>" },
{ "pepper", '\0', 0, G_OPTION_ARG_CALLBACK,
parse_authentication_goption_arg,
"Use <pepper> to statically enhance salt of password hashes (maximal 4 character).",
"<pepper>" },
{ "port", 'p', 0, G_OPTION_ARG_STRING,
&manager_port_string,
"Use port number <number>.",
Expand Down Expand Up @@ -2227,14 +2235,6 @@ gvmd (int argc, char** argv, char *env[])
&verify_scanner,
"Verify scanner <scanner-uuid> and exit.",
"<scanner-uuid>" },
{ "pepper", '\0', 0, G_OPTION_ARG_CALLBACK,
parse_authentication_goption_arg,
"Use <pepper> to statically enhance salt of password hashes (maximal 4 character).",
"<pepper>" },
{ "hashcount", '\0', 0, G_OPTION_ARG_CALLBACK,
parse_authentication_goption_arg,
"Use <hashcount> to enhance the computational cost of creating a password hash.",
"<hashcount>" },
{ "version", '\0', 0, G_OPTION_ARG_NONE,
&print_version,
"Print version and exit.",
Expand Down

0 comments on commit a124a71

Please sign in to comment.