Browse Source

Merge pull request #473 from tomrake/fix-amberc-usage-error

amberc for -?.--help -H call print_usage without this.
Manfred Kröhnert 11 years ago
parent
commit
de549c85a6
1 changed files with 1 additions and 1 deletions
  1. 1 1
      bin/amberc

+ 1 - 1
bin/amberc

@@ -77,7 +77,7 @@ function handle_options(optionsArray, amber_dir) {
 			case '-h':
 			case '--help':
 			case '?':
-				this.usage();
+				print_usage();
 				break;
 			default:
 				var fileSuffix = path.extname(currentItem);