Changeset 435 for libmpc/trunk/mpcenc/mpcenc.c
- Timestamp:
- 02/26/09 20:41:48 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libmpc/trunk/mpcenc/mpcenc.c
r427 r435 980 980 m->ShortThr = (float) atof (argv[k]); 981 981 } 982 else if ( 0 == strcmp ( arg, "xlevel") || 0 == strcmp ( arg, "noxlevel") ) { 983 stderr_printf ( "\nXlevel coding not needed anymore, --%s ignored.\n", arg ); 984 } 982 985 else if ( 0 == strcmp ( arg, "nmt") ) { // NMT 983 986 if ( ++k >= argc ) { stderr_printf ( errmsg, arg ); return -1; } … … 1224 1227 } 1225 1228 else { 1226 char c;1227 1229 stderr_printf ( "\n\033[33;41;1mERROR\033[0m: unknown option '--%s' !\n", arg ); 1228 1229 stderr_printf ( "\nNevertheless continue with encoding (Y/n)? \a" ); 1230 c = waitkey (); 1231 if ( c != 'Y' && c != 'y' ) { 1232 stderr_printf ( "\n\n*** Abort ***\n" ); 1233 return -1; 1234 } 1235 stderr_printf ( "\n" ); 1230 shorthelp(); 1231 return -1; 1236 1232 } 1237 1233 }
Note: See TracChangeset
for help on using the changeset viewer.