summaryrefslogtreecommitdiff
path: root/clients
diff options
context:
space:
mode:
authorJiří Klimeš <blueowl@centrum.cz>2016-07-15 11:38:01 +0200
committerJiří Klimeš <blueowl@centrum.cz>2016-07-15 11:43:32 +0200
commit887cdcc217244172eb7f1ecd40fda8261213388a (patch)
tree9803828f22cad9844ff09b0092d643ba2a6db202 /clients
parentf9821a1669a0b21ecb96e19b14be35cd99f74638 (diff)
downloadNetworkManager-887cdcc217244172eb7f1ecd40fda8261213388a.tar.gz
nmcli: remove the extra full stop from error messages
$ nmcli dev modify Error: No interface specified.. $ nmcli dev modify bla Error: Device 'bla' not found..
Diffstat (limited to 'clients')
-rw-r--r--clients/cli/devices.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/clients/cli/devices.c b/clients/cli/devices.c
index 6ca5f9b2b3..4a56799d48 100644
--- a/clients/cli/devices.c
+++ b/clients/cli/devices.c
@@ -624,7 +624,7 @@ get_device (NmCli *nmc, int *argc, char ***argv, GError **error)
if (!ifname_ask) {
g_set_error_literal (error, NMCLI_ERROR, NMC_RESULT_ERROR_USER_INPUT,
- _("No interface specified."));
+ _("No interface specified"));
return NULL;
}
} else {
@@ -643,7 +643,7 @@ get_device (NmCli *nmc, int *argc, char ***argv, GError **error)
if (devices[i] == NULL) {
g_set_error (error, NMCLI_ERROR, NMC_RESULT_ERROR_NOT_FOUND,
- _("Device '%s' not found."), ifname);
+ _("Device '%s' not found"), ifname);
}
return devices[i];