Add doc string
This commit is contained in:
parent
70d2ea1dd3
commit
1da114b2ed
|
@ -1,17 +1,19 @@
|
|||
#! /bin/bash
|
||||
|
||||
################################################################################
|
||||
# Updates CARLA contents.
|
||||
# Updates CARLA content.
|
||||
################################################################################
|
||||
|
||||
set -e
|
||||
|
||||
DOC_STRING="Update CARLA content to the latest version, to be run after 'git pull'."
|
||||
|
||||
USAGE_STRING="Usage: $0 [-h|--help] [-s|--skip-download]"
|
||||
|
||||
# ==============================================================================
|
||||
# -- Parse arguments -----------------------------------------------------------
|
||||
# ==============================================================================
|
||||
|
||||
USAGE_STRING="Usage: $0 [-h|--help] [-s|--skip-download]"
|
||||
|
||||
SKIP_DOWNLOAD=false
|
||||
|
||||
OPTS=`getopt -o hs --long help,skip-download -n 'parse-options' -- "$@"`
|
||||
|
@ -26,6 +28,7 @@ while true; do
|
|||
SKIP_DOWNLOAD=true;
|
||||
shift ;;
|
||||
-h | --help )
|
||||
echo "$DOC_STRING"
|
||||
echo "$USAGE_STRING"
|
||||
exit 1
|
||||
;;
|
||||
|
|
Loading…
Reference in New Issue