diff options
author | Thomas Haller <thaller@redhat.com> | 2021-04-17 08:12:47 +0200 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2021-04-17 08:36:55 +0200 |
commit | a55c10c6cb0cd047ff2aa835535d2abe09507ad6 (patch) | |
tree | 92026a710a4db7814ba08680709ff8706f7f9dd7 | |
parent | 4a81fe13ae18cb6d157d7cb3eec300f3061263fe (diff) | |
download | NetworkManager-a55c10c6cb0cd047ff2aa835535d2abe09507ad6.tar.gz |
nmcli/trivial: add comment about stability of connection-add success message
-rw-r--r-- | src/nmcli/connections.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/nmcli/connections.c b/src/nmcli/connections.c index 50f684c0e6..6d30a30e4e 100644 --- a/src/nmcli/connections.c +++ b/src/nmcli/connections.c @@ -5230,6 +5230,15 @@ add_connection_cb(GObject *client, GAsyncResult *result, gpointer user_data) } } + /* We print here human readable text, but as scripts might parse this output + * (with LANG=C), this is important to not change in the future. At least + * not unless called with a new command line flag, that requests a different output. + * + * That means, be very careful if you change this message, it might break + * scripts!! + * + * This is true for many messages that the user might parse. But this one + * seems in particular interesting for a user to parse. */ g_print(_("Connection '%s' (%s) successfully added.\n"), nm_connection_get_id(NM_CONNECTION(connection)), nm_connection_get_uuid(NM_CONNECTION(connection))); |