diff --git a/src/cli.c b/src/cli.c index cd4758ec..c9bdc6c6 100644 --- a/src/cli.c +++ b/src/cli.c @@ -130,17 +130,17 @@ usage(void) printf(" - 'immediate' forces connections to close and terminate\n"); printf(" - 'cancel' avoid a previously issued 'shutdown gracefully'\n"); printf(" status [details] Status of pgagroal, with optional details\n"); - printf(" switch-to [server] Switches to the specified primary server\n"); - printf(" conf [action[ Manages the configuration (e.g., reloads the configuration\n"); - printf(" The subcommand [action] can be:\n"); + printf(" switch-to Switches to the specified primary server\n"); + printf(" conf Manages the configuration (e.g., reloads the configuration\n"); + printf(" The subcommand can be:\n"); printf(" - 'reload' to issue a configuration reload;\n"); printf(" - 'get' to obtain information about a runtime configuration value;\n"); printf(" conf get \n"); printf(" - 'set' to modify a configuration value;\n"); printf(" conf set ;\n"); printf(" - 'ls' lists the configuration files used.\n"); - printf(" clear [what] Resets either the Prometheus statistics or the specified server.\n"); - printf(" [what] can be\n"); + printf(" clear Resets either the Prometheus statistics or the specified server.\n"); + printf(" can be\n"); printf(" - 'server' (default) followed by a server name\n"); printf(" - a server name on its own\n"); printf(" - 'prometheus' to reset the Prometheus metrics\n");