From: Uwe Hermann Date: Wed, 5 Sep 2018 19:50:02 +0000 (+0200) Subject: output/csv: Disable the dedup option by default. X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=04a0e0dc1c6bfb7b80119795bb854e66e8abbd1a;p=libsigrok.git output/csv: Disable the dedup option by default. Having this on by default is surprising to most users, since csv is not usually associated with having a VCD-like dedup property/feature. --- diff --git a/src/output/csv.c b/src/output/csv.c index f8923112..47526587 100644 --- a/src/output/csv.c +++ b/src/output/csv.c @@ -49,7 +49,7 @@ * trigger: Whether or not to add a "trigger" column as the last column. * Defaults to FALSE. * - * dedup: Don't output duplicate rows. Defaults to TRUE. If time is off, then + * dedup: Don't output duplicate rows. Defaults to FALSE. If time is off, then * this is forced to be off. */ @@ -660,7 +660,7 @@ static const struct sr_option *get_options(void) options[7].values = l; options[8].def = g_variant_ref_sink(g_variant_new_boolean(TRUE)); options[9].def = g_variant_ref_sink(g_variant_new_boolean(FALSE)); - options[10].def = g_variant_ref_sink(g_variant_new_boolean(TRUE)); + options[10].def = g_variant_ref_sink(g_variant_new_boolean(FALSE)); } return options;