Skip to content

Commit

Permalink
output/csv: Set default "time" option value to false.
Browse files Browse the repository at this point in the history
  • Loading branch information
uwehermann committed Dec 22, 2019
1 parent d649ff2 commit 5a27356
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/output/csv.c
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
* Values are "channel", "units", "off". Defaults to "units".
*
* time: Whether or not the first column should include the time the sample
* was taken. Defaults to TRUE.
* was taken. Defaults to FALSE.
*
* trigger: Whether or not to add a "trigger" column as the last column.
* Defaults to FALSE.
Expand Down Expand Up @@ -658,7 +658,7 @@ static const struct sr_option *get_options(void)
l = g_slist_append(l, g_variant_ref_sink(g_variant_new_string("channel")));
l = g_slist_append(l, g_variant_ref_sink(g_variant_new_string("off")));
options[7].values = l;
options[8].def = g_variant_ref_sink(g_variant_new_boolean(TRUE));
options[8].def = g_variant_ref_sink(g_variant_new_boolean(FALSE));
options[9].def = g_variant_ref_sink(g_variant_new_boolean(FALSE));
options[10].def = g_variant_ref_sink(g_variant_new_boolean(FALSE));
}
Expand Down

0 comments on commit 5a27356

Please sign in to comment.