diff options
Diffstat (limited to 'bin/mp3dirlist')
-rwxr-xr-x | bin/mp3dirlist | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/bin/mp3dirlist b/bin/mp3dirlist index e0ce5db..81eeb66 100755 --- a/bin/mp3dirlist +++ b/bin/mp3dirlist @@ -9,6 +9,18 @@ DIRLISTEX='^Susperia|^B.*hse.*nkelz' # CORE SCRIPT FROM HERE. DON'T FIDDLE IF YOU DON'T KNOW WHAT YOU'RE DOING. +function m3l_help { + echo "Usage: $(basename $0) [options] [DIRECTORY...]" + exit 0 +} +while getopts "ht:r:p:v" params; do + case $params in + "h") + m3l_help + ;; + esac +done + if [ "$1" == "" ]; then SDIR="*" else |