From 69bbe8961607fdc1ccddfeaa282dd1ba1f4fe5fd Mon Sep 17 00:00:00 2001 From: Ryunosuke SATO Date: Sat, 7 Feb 2015 16:37:38 +0900 Subject: [PATCH] Switch short option of `--module-ids` from `-i` to `-M` `-i` conflicts with `--optional` option. ``` $ bin/6to5/index.js --help | grep "\-i," -i, --optional [list] List of optional transformers to enable -i, --module-ids Insert module id in modules ``` --- bin/6to5/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/6to5/index.js b/bin/6to5/index.js index 62f9a31048..045bbe2ac5 100755 --- a/bin/6to5/index.js +++ b/bin/6to5/index.js @@ -23,7 +23,7 @@ commander.option("-L, --loose [list]", "List of transformers to enable loose mod commander.option("-o, --out-file [out]", "Compile all input files into a single file"); commander.option("-d, --out-dir [out]", "Compile an input directory of modules into an output directory"); commander.option("-c, --remove-comments", "Remove comments from the compiled code", false); -commander.option("-i, --module-ids", "Insert module id in modules", false); +commander.option("-M, --module-ids", "Insert module id in modules", false); commander.option("-R, --react-compat", "Makes the react transformer produce pre-v0.12 code"); commander.option("--keep-module-id-extensions", "Keep extensions when generating module ids", false);