made an error if only -k --key is passed
This commit is contained in:
parent
fa0bd05b06
commit
ce9626655a
1 changed files with 3 additions and 0 deletions
|
@ -37,6 +37,9 @@ elsif options[:d]
|
||||||
puts "Downloading paste data into the data directory..."
|
puts "Downloading paste data into the data directory..."
|
||||||
download_pastes(pb)
|
download_pastes(pb)
|
||||||
puts "Complete."
|
puts "Complete."
|
||||||
|
elsif options[:k]
|
||||||
|
puts '-k or --key= requires -r,--raw'
|
||||||
|
exit
|
||||||
else options = false
|
else options = false
|
||||||
puts 'please provide arguments'
|
puts 'please provide arguments'
|
||||||
exit
|
exit
|
||||||
|
|
Loading…
Add table
Reference in a new issue