From a2563cea80074162c6ae7f00a0f446e3c1076407 Mon Sep 17 00:00:00 2001 From: Arthur David Olson Date: Wed, 14 Jan 2009 10:56:24 -0500 Subject: [PATCH] --help and --version work SCCS-file: tzselect.ksh SCCS-SID: 8.2 --- tzselect.ksh | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/tzselect.ksh b/tzselect.ksh index 434840e..3a7e3da 100644 --- a/tzselect.ksh +++ b/tzselect.ksh @@ -1,6 +1,6 @@ #! /bin/ksh -# '%W%' +VERSION='%W%' # Ask the user about the time zone, and output the resulting TZ value to stdout. # Interact with the user via stderr and stdin. @@ -45,6 +45,21 @@ exit 1 } +if [ "$1" = "--help" ]; then + cat <