From 5a878deec7576bbbcfeb240d528058c655a78977 Mon Sep 17 00:00:00 2001 From: henrywinterbottom-wxdev Date: Fri, 22 Sep 2023 12:32:01 -0600 Subject: [PATCH] Updated documentation block. --- ush/remap_prep.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ush/remap_prep.sh b/ush/remap_prep.sh index b2c3d65022..d2cd7f5504 100755 --- a/ush/remap_prep.sh +++ b/ush/remap_prep.sh @@ -54,7 +54,8 @@ output_path="${3}" ####### if [[ "$#" -ne 3 ]]; then - echo "Usage: $0 " + echo "FATAL ERROR: invalid argument syntax provided to ${BASH_SOURCE[0]}" + echo "Usage: ${BASH_SOURCE[0]} " exit 100 fi @@ -75,7 +76,7 @@ fi # global_array - An array containing the split elements. # # Example usage: -# _comma_split_string "item1,item2 item3,item4" +# _comma_split_string "item1,item2,item3,item4" # for element in "${global_array[@]}"; do # echo "$element" # done