From ed367f7963f24c60d5ada41e148ec320a7dc4b5f Mon Sep 17 00:00:00 2001 From: Asif Bacchus Date: Sat, 20 Jun 2020 04:52:22 -0600 Subject: [PATCH] add note about copying to path to embedded help --- sri | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sri b/sri index c6e0eb8..3b3c334 100755 --- a/sri +++ b/sri @@ -51,6 +51,8 @@ scriptHelp (){ printf "%s./%s -d /var/www/includes --filter 'foo*'%s\n\n" "$cyan" "$scriptName" "$norm" printf "Generate SHA256 hashes for all '.css' files in /var/www/css and 'script.js' in /var/www/js/\n" printf "%s./%s -2 -f /var/www/js/script.js -d /var/www/css --filter '*.css'%s\n\n" "$cyan" "$scriptName" "$norm" + printf "N.B. If you copy this script to somewhere in your path, like /usr/local/bin, then you can run it like any other command without having to specify a leading path ('./' in above examples):\n" + printf "%s%s -f /var/www/css/styles.css%s\n\n" "$cyan" "$scriptName" "$norm" exit 0; }