Add doc string

This commit is contained in:
nsubiron 2018-01-22 11:21:09 +01:00
parent 70d2ea1dd3
commit 1da114b2ed
1 changed files with 6 additions and 3 deletions

View File

@ -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
;;