made an error if only -k --key is passed

This commit is contained in:
booboy 2018-11-17 19:04:12 -06:00
parent fa0bd05b06
commit ce9626655a

View file

@ -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