Permalink
Browse files

rework git read/write uris

  • Loading branch information...
1 parent 47aabc7 commit f63fa2ec23cd9dc43d3daaeb121591862a05d8e8 @cadorn cadorn committed Oct 19, 2012
Showing with 2 additions and 4 deletions.
  1. +2 −4 lib/commands/clone.js
@@ -10,18 +10,16 @@ var command = exports["clone"] = new ARGS_PARSER();
command.help("Clone a package/program from a URI.");
command.arg("URI");
command.arg("TARGET_PATH");
-command.option("--dev").bool().help("Same as --create --write --install");
+command.option("--dev").bool().help("Same as --create --install");
command.option("-c", "--create").bool().help("Create parent path `dirname(TARGET_PATH)` of `TARGET_PATH` if it does not exist.");
-command.option("--delete").bool().help("Delete `TARGET_PATH` if it already exists.");
-command.option("-w", "--write").bool().help("Clone in write mode.");
command.option("-i", "--install").bool().help("Install after cloning.");
+command.option("--delete").bool().help("Delete `TARGET_PATH` if it already exists.");
command.helpful();
command.action(function (options) {
if (options.dev === true) {
options.create = true;
- options.write = true;
options.install = true;
}

0 comments on commit f63fa2e

Please sign in to comment.