#! /bin/bash set -e positional=() while [[ $# -gt 0 ]]; do argument="$1" case $argument in -h|--help) printf "%s\n" \ "Usage: qr-backup.sh [options]" \ "" \ "Options:" \ " --create-bip39-mnemonic create BIP39 mnemonic" \ " --create-electrum-mnemonic create Electrum mnemonic" \ " --validate-bip39-mnemonic validate if secret is valid BIP39 mnemonic" \ " --label