Index: trunk/Nebulous/bin/neb-initdb
===================================================================
--- trunk/Nebulous/bin/neb-initdb	(revision 4897)
+++ trunk/Nebulous/bin/neb-initdb	(revision 4905)
@@ -3,5 +3,5 @@
 # Copyright (C) 2005  Joshua Hoblitt
 #
-# $Id: neb-initdb,v 1.2 2005-08-30 00:04:04 jhoblitt Exp $
+# $Id: neb-initdb,v 1.3 2005-08-31 00:05:05 jhoblitt Exp $
 
 use strict;
@@ -9,5 +9,5 @@
 
 use vars qw( $VERSION );
-$VERSION = '0.01';
+$VERSION = '0.02';
 
 use DBI;
@@ -18,4 +18,9 @@
 
 my ($db, $dbuser, $dbpass);
+
+$db     = $ENV{'NEB_DB'} unless $db;
+$dbuser = $ENV{'NEB_USER'} unless $dbuser;
+$dbpass = $ENV{'NEB_PASS'} unless $dbpass;
+
 GetOptions(
     'db=s'      => \$db,
@@ -91,4 +96,26 @@
 =back
 
+=head1 ENVIRONMENT
+
+These environment variables may be used in place of the specified command line
+options.  All command line option will override the corresponding environment
+value.
+
+=over 4
+
+=item * C<NEB_DB>
+
+Equivalent to --db|-d
+
+=item * C<NEB_USER>
+
+Equivalent to --user|-u
+
+=item * C<NEB_PASS>
+
+Equivalent to --pass|-p 
+
+=back
+
 =head1 CREDITS
 
