#!/bin/bash

# to-add
# command details
# dtbs

if [ "$#" != "1" ]; then
    echo "Usage vthelp <page>"
    echo "available pages :"
    ls /usr/share/velvettools/help
else
    if [ ! -e "/usr/share/velvettools/help/$1" ]; then
        echo "The page does not exist."
        exit
    fi

    cat /usr/share/velvettools/help/$1
    echo
fi
