Much more helpful help.

This commit is contained in:
Ian Gulliver
2016-02-17 16:04:11 -08:00
parent 5fd120baec
commit 8e2e7b2562
5 changed files with 88 additions and 53 deletions

View File

@@ -138,3 +138,10 @@ void client_write(struct packet *packet) {
}
}
}
void client_print_usage() {
fprintf(stderr, "\nSupported output formats:\n");
for (int i = 0; i < NUM_SERIALIZERS; i++) {
fprintf(stderr, "\t%s\n", serializers[i].name);
}
}