Skip to content

Commit

Permalink
Updated documentation block.
Browse files Browse the repository at this point in the history
  • Loading branch information
henrywinterbottom-wxdev committed Sep 22, 2023
1 parent d595cf5 commit 5a878de
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions ush/remap_prep.sh
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,8 @@ output_path="${3}"
#######

if [[ "$#" -ne 3 ]]; then
echo "Usage: $0 <variable_file> <input_path> <output_path>"
echo "FATAL ERROR: invalid argument syntax provided to ${BASH_SOURCE[0]}"
echo "Usage: ${BASH_SOURCE[0]} <variable_file> <input_path> <output_path>"
exit 100
fi

Expand All @@ -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
Expand Down

0 comments on commit 5a878de

Please sign in to comment.