scalac error: bad option: '-dd' scalac -help gives more information Usage: scalac where possible options include: -doc Generate documentation -g: Generate debugging info (none,source,line,vars,notc) -nowarn Generate no warnings -noassert Generate no assertions and assumptions -verbose Output messages about what the compiler is doing -classpath Specify where to find user class files -sourcepath Specify where to find input source files -bootclasspath Override location of bootstrap class files -extdirs Override location of installed extensions -d Specify where to place generated class files -encoding Specify character encoding used by source files -windowtitle Specify window title of generated HTML documentation -documenttitle Specify document title of generated HTML documentation -target: Specify which backend to use (jvm-1.5,msil) -migrate Assist in migrating from Scala version 1.0 -o Name of the output assembly (only relevant with -target:msil) -r List of assemblies referenced by the program (only relevant with -target:msil) -debug Output debugging messages -deprecation enable detailed deprecation warnings -unchecked enable detailed unchecked warnings -statistics Print compiler statistics -explaintypes Explain type errors in more detail -resident Compiler stays resident, files to compile are read from standard input -uniqid Print identifiers with unique names (debugging option) -printtypes Print tree types (debugging option) -prompt Display a prompt after each error (debugging option) -noimports Compile without any implicit imports -nopredefs Compile without any implicit predefined values -skip: Skip -check: Check the tree at start of -print: Print out program after -printer: Printer to use (text,html) -printfile Specify file in which to print trees -graph: Graph the program after -browse: Browse the abstract syntax tree after -stop: Stop after phase -log: Log operations in -logall Log all operations -version Print product version and exit -help Print a synopsis of standard options -nouescape disables handling of \u unicode escapes -Xinline Perform inlining when possible -XO Optimize. implies -Xinline, -Xcloselim and -Xdce -Xcloselim Perform closure elimination -Xdce Perform dead code elimination -Xwarndeadcode Emit warnings for dead code -XbytecodeRead Enable bytecode reader. -Xdetach Perform detaching of remote closures -Xshowcls Show class info -Xshowobj Show object info -Xlinearizer: Linearizer to use (normal,dfs,rpo,dump) -Xgenerics Use generic Java types -Xprintpos Print tree positions (as offsets) -Xscript compile script file -Xexperimental enable experimental extensions -Xplugtypes parse but ignore annotations in more locations -Xkilloption optimizes option types one error found