#! /bin/sh

usage() {
  echo 'nbdstop { module | server | client } { id | -a }'
}

what="$1"
which="$2"

if [ "$which" = "-a" ]; then
  which=""
fi

nbd stop $what $which

