From 0615bbb047893ca0259c8f8d0c09eac20b230e25 Mon Sep 17 00:00:00 2001 From: port19 Date: Sat, 18 Mar 2023 13:15:12 +0100 Subject: [PATCH] proper help --- redqu | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/redqu b/redqu index edca3a0..3e8a407 100755 --- a/redqu +++ b/redqu @@ -44,4 +44,10 @@ (filter #(not (nil? %))) (str/join " ") (println))) - (catch Exception e (println "Reddit 429 Too Many Requests. Try Again."))) + (catch Exception e (println "Usage: redqu sub sort time" + "\nExample: mpv $(redqu cats top week)\n" + "\nValid sort parameters: hot new top rising controversial" + "\nValid time parameters: hour day week month year all" + "\nTop of week is the default\n" + "\nIf you're seeing this message in error, please open an Issue:" + "\nhttps://github.com/port19x/redqu/issues")))