mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-04 18:00:18 +01:00
cli: improve error message about ambigious text in nmc_string_to_bool()
The "on x off" is confusing. Use "on, off".
This commit is contained in:
parent
f62ecc97c8
commit
1731fcf35e
1 changed files with 2 additions and 2 deletions
|
|
@ -104,7 +104,7 @@ nmc_string_to_bool(const char *str, gboolean *val_bool, GError **error)
|
|||
*/
|
||||
_("'%s' is ambiguous (%s)"),
|
||||
str,
|
||||
"on x off");
|
||||
"on, off");
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
|
|
@ -141,7 +141,7 @@ nmc_string_to_ternary(const char *str, NMTernary *val, GError **error)
|
|||
*/
|
||||
_("'%s' is ambiguous (%s)"),
|
||||
str,
|
||||
"on x off");
|
||||
"on, off");
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue