.homedir-setup.rb

branch
mhoward-lt
changeset 162
0538d5699cd7
parent 160
3b873456c2b3
child 184
ddb5e993a367
--- a/.homedir-setup.rb
+++ b/.homedir-setup.rb
@@ -11,6 +11,10 @@ if `which git` == ''
 end
 
 def main
+  if ARGV.length == 0
+    ARGV << '--help'
+  end
+
   opts = GetoptLong.new(
     [ '--help', '-h', GetoptLong::NO_ARGUMENT ],
     [ '--update', '-u', GetoptLong::NO_ARGUMENT ],

mercurial