Updated help text

This commit is contained in:
llsth 2015-03-17 00:07:28 +01:00
parent 4b8e365ec4
commit b01db6a7f7
1 changed files with 2 additions and 2 deletions

View File

@ -109,7 +109,7 @@ Param_Tweak(struct ocx *ocx, const char *arg)
if (!strcmp(pt->name, arg)) if (!strcmp(pt->name, arg))
break; break;
if (pt == NULL) if (pt == NULL)
Fail(ocx, 0, "unknown parameter '%s' (try PARAM ?)", Fail(ocx, 0, "unknown parameter '%s' (try PARAM=?)",
arg); arg);
Put(ocx, OCX_DIAG, "Parameter:\n\t%s\n", pt->name); Put(ocx, OCX_DIAG, "Parameter:\n\t%s\n", pt->name);
Put(ocx, OCX_DIAG, "Minimum:\n\t%.3e\n", pt->min); Put(ocx, OCX_DIAG, "Minimum:\n\t%.3e\n", pt->min);
@ -131,7 +131,7 @@ Param_Tweak(struct ocx *ocx, const char *arg)
break; break;
} }
if (pt == NULL) if (pt == NULL)
Fail(ocx, 0, "unknown parameter '%.*s' (try PARAM ?)", Fail(ocx, 0, "unknown parameter '%.*s' (try PARAM=?)",
(int)(q - arg), arg); (int)(q - arg), arg);
r = NULL; r = NULL;