From a2324725adab4fda610d39eb21d8d28bdf8f35ba Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Sat, 13 Aug 2022 13:17:45 -0300 Subject: bin/: Add examples to help strings --- bin/prompt | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'bin/prompt') diff --git a/bin/prompt b/bin/prompt index 68dff61..247c81a 100755 --- a/bin/prompt +++ b/bin/prompt @@ -20,6 +20,15 @@ help() { Display a prompt and return a value corresponding to the response. + + + Examples: + + Conditionally run download command + + if prompt 'Download files?'; then + run_download; + fi EOF } -- cgit v1.2.3