summaryrefslogtreecommitdiff
path: root/clients/cli
diff options
context:
space:
mode:
authorSayed Shah <sayshah@redhat.com>2020-07-01 17:20:40 -0400
committerThomas Haller <thaller@redhat.com>2020-07-03 10:48:04 +0200
commit7337ab895951c37258d0634dd709f218109bd49f (patch)
tree9bef23382841cc33903b0dfdbf1ed4ace27d0402 /clients/cli
parent66e2d8c38a26e3b797fe2cbea961ea942042e13c (diff)
downloadNetworkManager-7337ab895951c37258d0634dd709f218109bd49f.tar.gz
all: fix typo in man pages
There should be a comma after 'Otherwise' and 'Currently'. https://bugzilla.redhat.com/show_bug.cgi?id=1852452 https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/merge_requests/560
Diffstat (limited to 'clients/cli')
-rw-r--r--clients/cli/connections.c4
-rw-r--r--clients/cli/devices.c2
-rw-r--r--clients/cli/settings.c4
3 files changed, 5 insertions, 5 deletions
diff --git a/clients/cli/connections.c b/clients/cli/connections.c
index 44e34d56a6..b0f04f4017 100644
--- a/clients/cli/connections.c
+++ b/clients/cli/connections.c
@@ -5376,7 +5376,7 @@ read_properties:
const char *slave_type = nm_setting_connection_get_slave_type (s_con);
/* If only bother when there's a type, which is not guaranteed at this point.
- * Otherwise the validation will fail anyway. */
+ * Otherwise, the validation will fail anyway. */
if (type) {
gs_free char *try_name = NULL;
gs_free char *default_name = NULL;
@@ -6713,7 +6713,7 @@ editor_sub_usage (const char *command)
g_print (_("remove [<value>|<index>|<option name>] :: delete the value\n\n"
"Removes the property value. For single-valued properties, this sets the\n"
"property back to its default value. For container-type properties, this removes\n"
- "all the values of that property, or you can specify an argument to remove just\n"
+ "all the values of that property or you can specify an argument to remove just\n"
"a single item or option. The argument is either a value or index of the item to\n"
"remove, or an option name (for properties with named options).\n\n"
"Examples: nmcli ipv4.dns> remove 8.8.8.8\n"
diff --git a/clients/cli/devices.c b/clients/cli/devices.c
index 27f72e7787..d5e1f3dcaf 100644
--- a/clients/cli/devices.c
+++ b/clients/cli/devices.c
@@ -806,7 +806,7 @@ usage_device_modify (void)
"\n"
"ARGUMENTS := <ifname> ([+|-]<setting>.<property> <value>)+\n"
"\n"
- "Modify one or more properties currently active on the device without modifying\n"
+ "Modify one or more properties that are currently active on the device without modifying\n"
"the connection profile. The changes have immediate effect. For multi-valued\n"
"properties you can use optional '+' or '-' prefix to the property name.\n"
"The '+' sign allows appending items instead of overwriting the whole value.\n"
diff --git a/clients/cli/settings.c b/clients/cli/settings.c
index 0487fb9680..c5c79f0987 100644
--- a/clients/cli/settings.c
+++ b/clients/cli/settings.c
@@ -338,7 +338,7 @@ _set_fcn_precheck_connection_secondaries (NMClient *client,
g_print (_("Warning: %s is not an UUID of any existing connection profile\n"),
*iter);
} else {
- /* Currently NM only supports VPN connections as secondaries */
+ /* Currently, NM only supports VPN connections as secondaries */
if (!nm_connection_is_type (con, NM_SETTING_VPN_SETTING_NAME)) {
g_set_error (error, 1, 0, _("'%s' is not a VPN connection profile"), *iter);
return FALSE;
@@ -351,7 +351,7 @@ _set_fcn_precheck_connection_secondaries (NMClient *client,
return FALSE;
}
- /* Currently NM only supports VPN connections as secondaries */
+ /* Currently, NM only supports VPN connections as secondaries */
if (!nm_connection_is_type (con, NM_SETTING_VPN_SETTING_NAME)) {
g_set_error (error, 1, 0, _("'%s' is not a VPN connection profile"), *iter);
return FALSE;