#!/bin/bash --posix set -e usage() { echo \ "Help Menu Usage: $(basename ${0}) " exit "${1}" } [[ -z "${1}" ]] && usage 1 [[ "${1}" == "--help" || "${1}" == "-h" ]] && usage 0 tmux attach-session -t "Squad-Server-${1}" exit ${?}