From fae539379a605b77c179695a08c0da87f85af94b Mon Sep 17 00:00:00 2001 From: Jerome Leclanche Date: Thu, 28 Nov 2013 04:33:04 +0000 Subject: [PATCH] Use $0 in the usage, instead of hardcoding the name "spark" --- spark | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/spark b/spark index a915af7..abd85b2 100755 --- a/spark +++ b/spark @@ -73,17 +73,18 @@ if [ "$BASH_SOURCE" == "$0" ]; then # Prints the help text for spark. help() { + local spark=$(basename $0) cat <