From ce9626655a5918818d228e0ce905385acc7ac74e Mon Sep 17 00:00:00 2001 From: booboy Date: Sat, 17 Nov 2018 19:04:12 -0600 Subject: [PATCH] made an error if only -k --key is passed --- bin/pastebinner | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bin/pastebinner b/bin/pastebinner index ef92129..c1744ec 100755 --- a/bin/pastebinner +++ b/bin/pastebinner @@ -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