simple-ctrl-client: Add basic help/usage information

This commit is contained in:
Harald Welte 2018-06-04 12:05:13 +02:00
parent d28c5f6602
commit 01bf3e92ab
1 changed files with 4 additions and 1 deletions

View File

@ -35,7 +35,10 @@ static struct log_info log_info = {};
static void exit_help(void)
{
printf("help!\n");
printf("Usage:\n");
printf("\tosmo-ctrl-client HOST PORT get VARIABLE\n");
printf("\tosmo-ctrl-client HOST PORT set VARIABLE VALUE\n");
printf("\tosmo-ctrl-client HOST PORT monitor\n");
exit(2);
}