瀏覽代碼

amberc for -?.--help -H call print_usage without this.

Thomas Rake 12 年之前
父節點
當前提交
c99a97c866
共有 1 個文件被更改,包括 1 次插入1 次删除
  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);