Add missing \n to deprecation warning for -feature, and fix terminology

"option" not "directive".


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9793 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Olly Betts 2007-05-08 18:09:39 +00:00
commit cecb0ff03b

View file

@ -809,8 +809,8 @@ public:
}
}
else if (strcmp(argv[i], "-feature") == 0) {
fprintf( stderr, "Warning: Ruby -feature directive is deprecated, please use "
"-init_name instead.");
fprintf( stderr, "Warning: Ruby -feature option is deprecated, "
"please use -init_name instead.\n");
if (argv[i + 1]) {
char *name = argv[i + 1];
feature = NewString(name);