summaryrefslogtreecommitdiff
path: root/libnm-util/nm-setting-serial.c
diff options
context:
space:
mode:
Diffstat (limited to 'libnm-util/nm-setting-serial.c')
-rw-r--r--libnm-util/nm-setting-serial.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/libnm-util/nm-setting-serial.c b/libnm-util/nm-setting-serial.c
index 4a7ee89e65..0f03e29ffe 100644
--- a/libnm-util/nm-setting-serial.c
+++ b/libnm-util/nm-setting-serial.c
@@ -283,6 +283,16 @@ nm_setting_serial_class_init (NMSettingSerialClass *setting_class)
* Parity setting of the serial port. Either 'E' for even parity, 'o' for
* odd parity, or 'n' for no parity.
**/
+ /* plugins docs
+ * ---keyfile---
+ * property: parity
+ * format: 'e', 'o', or 'n'
+ * description: The connection parity; even, odd, or none. Note that older
+ * versions of NetworkManager stored this as an integer: 69 ('E') for even,
+ * 111 ('o') for odd, or 110 ('n') for none.
+ * example: parity=n
+ * ---end---
+ */
g_object_class_install_property
(object_class, PROP_PARITY,
g_param_spec_char (NM_SETTING_SERIAL_PARITY, "", "",