*/
case COMMENT:
// printf("row: comment is %s\n", t);
- data->rev.comment = store(data->rev.comment, t);
+ if (data->output_type == FULL) {
+ data->rev.comment = store(data->rev.comment, t);
+ }
break;
case TEXT:
- data->rev.text = store(data->rev.text, t);
+ if (data->output_type == FULL) {
+ data->rev.text = store(data->rev.text, t);
+ }
break;
default: break;
}
output_type = SIMPLE;
char c;
- while ((c = getopt(argc, argv, "hsd")) != -1)
+ while ((c = getopt(argc, argv, "ht")) != -1)
switch (c)
{
case 'd':