#!/bin/sh

set -eu

echo "reform-flash-uboot got renamed to reform-flash-bootloader" >&2
echo "use reform-flash-bootloader instead"

if [ "$#" -eq "0" ]; then
  exit
fi

if [ "$#" -gt "1" ]; then
  echo "E: too many arguments" >&2
  exit 1
fi

if [ "$1" != "--help" ]; then
  echo "E: unknown argument: $1" >&2
  exit 1
fi
