Skip to content
Snippets Groups Projects
Commit d61b151f authored by Marek Vavruša's avatar Marek Vavruša
Browse files

Merge branch 'void_param_in_help' of /git/repositories/knot

parents 01d1ecd0 f729f131
Branches
Tags
No related merge requests found
......@@ -109,7 +109,7 @@ knot_cmd_t knot_cmd_tbl[] = {
};
/*! \brief Print help. */
void help()
void help(void)
{
printf("Usage: %sc [parameters] <action>\n", PACKAGE_NAME);
printf("\nParameters:\n"
......
......@@ -73,7 +73,7 @@ void interrupt_handle(int s)
}
}
void help()
void help(void)
{
printf("Usage: %sd [parameters]\n",
PACKAGE_NAME);
......
......@@ -482,7 +482,7 @@ void complete_queries(list *queries, const query_t *conf)
}
}
static void dig_help()
static void dig_help(void)
{
printf("Usage: kdig [-4] [-6] [-dh] [-b address] [-c class] [-p port]\n"
" [-q name] [-t type] [-x address] [-k keyfile]\n"
......
......@@ -169,7 +169,7 @@ static int parse_name(const char *value, list *queries, const query_t *conf)
return KNOT_EOK;
}
static void host_help()
static void host_help(void)
{
printf("Usage: khost [-4] [-6] [-adhrsTvVw] [-c class] [-t type]\n"
" [-R retries] [-W time] name [server]\n\n"
......
......@@ -139,7 +139,7 @@ void nsupdate_clean(nsupdate_params_t *params)
memset(params, 0, sizeof(*params));
}
static void nsupdate_help()
static void nsupdate_help(void)
{
printf("Usage: knsupdate [-d] [-v] [-k keyfile | -y [hmac:]name:key]\n"
" [-p port] [-t timeout] [-r retries] [filename]\n");
......
......@@ -27,7 +27,7 @@
#define DEFAULT_MODE 1
void help()
void help(void)
{
printf("\nZone scanner testing tool.\n"
"Usage: zscanner-tool [parameters] origin zonefile\n"
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment