Commit 1207602d authored by Tollef Fog Heen's avatar Tollef Fog Heen

Make -x dumprst always available

parent ceda65dd
......@@ -1153,8 +1153,6 @@ MCF_ParamInit(struct cli *cli)
/*--------------------------------------------------------------------*/
#ifdef DIAGNOSTICS
void
MCF_DumpRst(void)
{
......@@ -1218,4 +1216,3 @@ MCF_DumpRst(void)
}
printf("\n");
}
#endif /* DIAGNOSTICS */
......@@ -503,12 +503,10 @@ main(int argc, char * const *argv)
VCS_Message("varnishd");
exit(0);
case 'x':
#ifdef DIAGNOSTICS
if (!strcmp(optarg, "dumprst")) {
MCF_DumpRst();
exit (0);
}
#endif /* DIAGNOSTICS */
usage();
break;
case 'w':
......
Markdown is supported
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