userlist.macosx.sh: Update copyright and usage information
authorAlexander Barton <alex@barton.de>
Mon, 28 Sep 2009 10:28:00 +0000 (12:28 +0200)
committerAlexander Barton <alex@barton.de>
Mon, 28 Sep 2009 10:28:00 +0000 (12:28 +0200)
userlist.macosx.sh

index f9f0f2f77d4a4e0fc04ee9456b5c4e78318ab008..1ed60302c00e010d5278b4b8fd34185fa92135e9 100755 (executable)
@@ -1,4 +1,25 @@
 #!/bin/bash
+#
+# listusers.sh
+# Copyright (c)2008,2009 Barton IT-Consulting, Alexander Barton
+#
+# This is free software; see the source for copying conditions. There is NO
+# warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+#
+
+RELEASE="2"
+
+Usage() {
+       echo "$NAME (userlist.macosx.sh) release $RELEASE"
+       echo "Copyright (c)2008,2009 Barton IT-Consulting, Alex Barton (alex@barton-it.de)"
+       echo
+       echo "This is free software; see the source for copying conditions. There is NO"
+       echo "warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
+       echo
+       echo "Usage: $0 [--all|-a] [--local|-l]"
+       echo
+       exit 1
+}
 
 while [ -n "$1" ]; do
        case "$1" in
@@ -9,7 +30,7 @@ while [ -n "$1" ]; do
                LOCAL=1
                ;;
        *)
-               echo "Usage: $0 [--local|-l]"
+               Usage
                exit 1
        esac
        shift