]> git.unchartedbackwaters.co.uk Git - francis/winuae.git/commitdiff
Correct command line parameter argument check.
authorGeorg Veichtlbauer <georg@vware.at>
Wed, 2 May 2018 14:31:47 +0000 (16:31 +0200)
committerGeorg Veichtlbauer <georg@vware.at>
Wed, 2 May 2018 14:31:47 +0000 (16:31 +0200)
cfgfile.cpp

index 0d801655555007ab73b0697081ced30dbb080258..d43aac1aece0f7c0364e200573f310be63217e7c 100644 (file)
@@ -6670,7 +6670,7 @@ static void cmdpath (TCHAR *dst, const TCHAR *src, int maxsz)
 int parse_cmdline_option (struct uae_prefs *p, TCHAR c, const TCHAR *arg)
 {
        struct strlist *u = xcalloc (struct strlist, 1);
-       const TCHAR arg_required[] = _T("0123rKpImWSAJwNCZUFcblOdHRv");
+       const TCHAR arg_required[] = _T("0123rKpImMWSRJwnvCZUFbclOdH");
 
        if (_tcschr (arg_required, c) && ! arg) {
                write_log (_T("Missing argument for option `-%c'!\n"), c);