#! /bin/bash set -e set -o pipefail function cleanup() { kill 0 exit 0 } trap cleanup EXIT positional=() while [[ $# -gt 0 ]]; do argument="$1" case $argument in -h|--help) printf "%s\n" \ "Usage: trezor-restore.sh [options]" \ "" \ "Options:" \ " --label