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..."
|
||||
download_pastes(pb)
|
||||
puts "Complete."
|
||||
elsif options[:k]
|
||||
puts '-k or --key= requires -r,--raw'
|
||||
exit
|
||||
else options = false
|
||||
puts 'please provide arguments'
|
||||
exit
|
||||
|
|
Loading…
Add table
Reference in a new issue