#!/usr/bin/env bash
# Legacy wrapper: single positional arg = image path
set -euo pipefail
dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
if [[ $# -eq 1 ]]; then
    exec "$dir/floppy" burn "$1"
fi
echo "Usage: floppy-burn <image>" >&2
echo "       or: floppy burn <image> [-d DEVICE] [-y]" >&2
exit 1