aboutsummaryrefslogtreecommitdiff
path: root/cli/mmcli-output.h
diff options
context:
space:
mode:
authorTeemu Ikonen <tpikonen@mailbox.org>2021-08-26 17:02:10 +0300
committerAleksander Morgado <aleksander@aleksander.es>2021-09-01 15:50:38 +0000
commitfa19b2b9b1412d3eeb515afe41c55ac414acc982 (patch)
tree32e2894d8849893a1bdc414ec6719e5d70a9b718 /cli/mmcli-output.h
parent7177eeea990f92dacebb967a5d418f3a372e5951 (diff)
cli, location: Fix multi-sentence NMEA message output
Multi-sentence NMEA messages were printed as is, that is with linebreaks, which made mmcli --location-get output look broken. Split NMEA sentences with linebreaks to separate output list items, so that they line up correctly.
Diffstat (limited to 'cli/mmcli-output.h')
-rw-r--r--cli/mmcli-output.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/cli/mmcli-output.h b/cli/mmcli-output.h
index 362230b3..1a8f934a 100644
--- a/cli/mmcli-output.h
+++ b/cli/mmcli-output.h
@@ -341,6 +341,8 @@ void mmcli_output_string_array (MmcF field,
void mmcli_output_string_array_take (MmcF field,
gchar **strv,
gboolean multiline);
+void mmcli_output_string_array_multiline_take (MmcF field,
+ gchar **strv);
void mmcli_output_string_take_typed (MmcF field,
gchar *value,
const gchar *type);