Skip to content

Commit

Permalink
Merge pull request #47 from Sjors/patch-1
Browse files Browse the repository at this point in the history
Use repo_url instead of url
  • Loading branch information
rafinskipg committed May 8, 2016
2 parents 0485a1f + 346b394 commit d786fd0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tasks/command.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ if (process.argv.join('').replace(/\\/g,'/').indexOf('/grunt') === -1) {
.option('-a, --app_name [app_name]', 'Name [app_name]')
.option('-b, --branch [branch_name]', 'Branch name [branch_name]')
.option('-f, --file [file]', 'File [file]')
.option('-r, --repo_url [url]', 'Repo url [url]')
.option('-r, --repo_url [repo_url]', 'Repo url [repo_url]')
.option('-l, --logo [logo]', 'Logo path [logo]')
.option('-i, --intro [intro]', 'intro text [intro]')
.option('-t, --tag [tag]', 'Since tag [tag]')
Expand Down Expand Up @@ -55,9 +55,9 @@ if (process.argv.join('').replace(/\\/g,'/').indexOf('/grunt') === -1) {
options.intro = program.intro;
}

if (program.url){
options.repo_url = program.url;
console.log(' - With URL %s', program.url);
if (program.repo_url){
options.repo_url = program.repo_url;
console.log(' - With URL %s', program.repo_url);
}

if (program.tag !== undefined){
Expand Down

0 comments on commit d786fd0

Please sign in to comment.