#!/bin/bash

CMD_DIR="/usr/lib/openvpn-server/ovs-commands"

# Sneaky?  Moi?!


if [ "$1" == "--short" ] || [ "$1" == "-s" ]; then
	echo -n ""
else
	echo "Available sub-commands:"
fi

for f in $(ls "${CMD_DIR}"); do
	if [ -x "${CMD_DIR}/${f}" ]; then
		echo "   $(basename $f)"
	fi
done


