From 5e596f818d725c22e7f68588b658dd6fe12c9f5f Mon Sep 17 00:00:00 2001 From: Steve Bennett Date: Wed, 3 Mar 2010 15:56:07 +1000 Subject: Improve documentation, remove debugging Completely document new regexp and regsub features Remove some old, commented-out debugging Signed-off-by: Steve Bennett --- jim-regexp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'jim-regexp.c') diff --git a/jim-regexp.c b/jim-regexp.c index 72313ee..f8e911d 100644 --- a/jim-regexp.c +++ b/jim-regexp.c @@ -128,7 +128,7 @@ int Jim_RegexpCmd(Jim_Interp *interp, int argc, Jim_Obj *const *argv) if (argc < 3) { wrongNumArgs: - Jim_WrongNumArgs(interp, 1, argv, "?-nocase? ?-line? ?-indices? ?-start offset? ?-all? ?-inline? exp string ?matchVar? ?subMatchVar ...?"); + Jim_WrongNumArgs(interp, 1, argv, "?-nocase? ?-line? ?-indices? ?-start offset? ?-all? ?-inline? ?--? exp string ?matchVar? ?subMatchVar ...?"); return JIM_ERR; } @@ -326,7 +326,7 @@ int Jim_RegsubCmd(Jim_Interp *interp, int argc, Jim_Obj *const *argv) if (argc < 4) { wrongNumArgs: - Jim_WrongNumArgs(interp, 1, argv, "?-nocase? ?-all? exp string subSpec ?varName?"); + Jim_WrongNumArgs(interp, 1, argv, "?-nocase? ?-all? ?-line? ?-start offset? ?--? exp string subSpec ?varName?"); return JIM_ERR; } -- cgit v1.1