Skip to content

Commit cba93a3

Browse files
committed
Add proper option label for branch_from
1 parent 51a55dc commit cba93a3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bin/jgd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@ Usage: jgd [options]
1010
EOS
1111
opt :url, 'Github URL', type: String, default: ''
1212
opt :branch, 'Destination branch', type: String, default: 'gh-pages'
13-
opt :branch_from, 'Destination branch', type: String, default: 'master'
13+
opt :branch_from, 'Source branch', type: String, default: 'master'
1414
end
1515

1616
branch = opts[:branch]
1717
branch_from = opts[:branch_from]
1818
fail 'branch can\'t be empty' if branch.empty?
19-
fail 'branch_from can\'t be empty' if branch_from.empty?
19+
fail 'branch-from can\'t be empty' if branch_from.empty?
2020
url = opts[:url]
2121
url = `git config --get remote.origin.url`.strip if url.empty?
2222

0 commit comments

Comments
 (0)