Commits

Tom Tanner committed ba9c1b9

and again

  • Participants
  • Parent commits 3fa844f

Comments (0)

Files changed (1)

File src/engine/SCons/Script/SConsOptions.py

                 t = (SCons.Warnings.DeprecatedDebugOptionsWarning, w)
                 parser.values.delayed_warnings.append(t)
             else:
-             raise OptionValueError(opt_invalid('debug', value, debug_options))
+                raise OptionValueError(opt_invalid('debug', o, debug_options))
     opt_debug_help = "Print various types of debugging information: %s." \
                      % ", ".join(debug_options)
     op.add_option('--debug',
         try:
             diskcheck_value = diskcheck_convert(value)
         except ValueError, e:
-            raise OptionValueError("'%s' is not a valid diskcheck type" % e)
+            raise OptionValueError("`%s' is not a valid diskcheck type" % e)
         setattr(parser.values, option.dest, diskcheck_value)
 
     op.add_option('--diskcheck',