updated for version 7.0100
diff --git a/src/eval.c b/src/eval.c
index 66aed74..af2c73d 100644
--- a/src/eval.c
+++ b/src/eval.c
@@ -13463,7 +13463,7 @@
 
     /* Get the length of the word and copy it. */
     ptr = ml_get_cursor();
-    len = spell_check(curwin, ptr, &attr);
+    len = spell_check(curwin, ptr, &attr, NULL);
     rettv->vval.v_string = vim_strnsave(ptr, len);
 #endif
 }
diff --git a/src/ex_cmds.h b/src/ex_cmds.h
index 48ef24b..dab4c4a 100644
--- a/src/ex_cmds.h
+++ b/src/ex_cmds.h
@@ -760,9 +760,9 @@
 EX(CMD_split,		"split",	ex_splitview,
 			BANG|FILE1|RANGE|NOTADR|EDITCMD|ARGOPT|TRLBAR),
 EX(CMD_spellgood,	"spellgood",	ex_spell,
-			NEEDARG|EXTRA|TRLBAR),
+			BANG|RANGE|NOTADR|NEEDARG|EXTRA|TRLBAR),
 EX(CMD_spellwrong,	"spellwrong",	ex_spell,
-			NEEDARG|EXTRA|TRLBAR),
+			BANG|RANGE|NOTADR|NEEDARG|EXTRA|TRLBAR),
 EX(CMD_spelldump,	"spelldump",	ex_spelldump,
 			TRLBAR),
 EX(CMD_spellrepall,	"spellrepall",	ex_spellrepall,