From 1ebe4824603793c12afd325c9eb58ae10959c3ff Mon Sep 17 00:00:00 2001 From: vonavi Date: Sun, 20 Apr 2014 14:13:14 +0400 Subject: [PATCH] Script 'schedule': add help output and version information. --- schedule | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/schedule b/schedule index ee77973..9047d97 100755 --- a/schedule +++ b/schedule @@ -5,9 +5,46 @@ REPO=fat0troll/lorchess TOURNAMENT=2014/1-tabiyas +# Version information +VERSION="0.1" + # *FIXME* Withdrew players should be taken from the main config WITHDREW_PLS="trex6" +argv0=${0##*/} + +usage() { + cat <