.homedir-setup.rb

changeset 160
3b873456c2b3
parent 152
69896d410e89
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