summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 0ebd701)
raw | patch | inline | side by side (parent: 0ebd701)
author | Marc Fournier <marc.fournier@camptocamp.com> | |
Mon, 7 Oct 2013 21:11:44 +0000 (23:11 +0200) | ||
committer | Marc Fournier <marc.fournier@camptocamp.com> | |
Mon, 7 Oct 2013 21:17:27 +0000 (23:17 +0200) |
Remove erroneous hint that "Type" can be altered. Also correct a small
typo. Thanks to @mjulian for pointing that out !
Fixes GH#448
typo. Thanks to @mjulian for pointing that out !
Fixes GH#448
src/target_replace.c | patch | blob | history | |
src/target_set.c | patch | blob | history |
diff --git a/src/target_replace.c b/src/target_replace.c
index 9a9affb4d3e6ba3841f33f0be7d3d47effade175..1d7af5c35d0b01a98ab1f9170b6e361fa8f41913 100644 (file)
--- a/src/target_replace.c
+++ b/src/target_replace.c
/* && (data->type == NULL) */
&& (data->type_instance == NULL))
{
- ERROR ("Target `replace': You need to set at lease one of `Host', "
- "`Plugin', `PluginInstance', `Type', or `TypeInstance'.");
+ ERROR ("Target `replace': You need to set at least one of `Host', "
+ "`Plugin', `PluginInstance' or `TypeInstance'.");
status = -1;
}
diff --git a/src/target_set.c b/src/target_set.c
index 8a014c3cd50caa156649f6de3093eda7cd7cac77..2fb9cee5665cbb463bcdb87dd1245116543b5587 100644 (file)
--- a/src/target_set.c
+++ b/src/target_set.c
/* && (data->type == NULL) */
&& (data->type_instance == NULL))
{
- ERROR ("Target `set': You need to set at lease one of `Host', "
- "`Plugin', `PluginInstance', `Type', or `TypeInstance'.");
+ ERROR ("Target `set': You need to set at least one of `Host', "
+ "`Plugin', `PluginInstance' or `TypeInstance'.");
status = -1;
}