Browse Source

Merge pull request #517 from mkroehnert/compiler

amberc: add help output for the '-D' flag
Nicolas Petton 11 years ago
parent
commit
fd0b30852d
1 changed files with 5 additions and 0 deletions
  1. 5 0
      bin/amberc

+ 5 - 0
bin/amberc

@@ -162,6 +162,11 @@ function print_usage() {
 	console.log('     Additionally export code for deploy - stripped from source etc.');
 	console.log('     Uses suffix ".deploy.js" in addition to any explicit suffic set by -s.');
 	console.log('');
+	console.log('  -D');
+	console.log('     Specifies the output directory for all generated .js files.');
+	console.log('     The hierarchy of the input files is not maintaned.');
+	console.log('     If this option is omitted all generated .js files are placed next to their input files');
+	console.log('');
 	console.log('  -s suffix');
 	console.log('     Add <suffix> to compiled .js files. File.st is then compiled into');
 	console.log('     File.<suffix>.js.');