don't force generating a config skeleton file
authorgc <gc>
Wed, 16 Mar 2005 21:19:24 +0000 (21:19 +0000)
committergc <gc>
Wed, 16 Mar 2005 21:19:24 +0000 (21:19 +0000)
booh

diff --git a/booh b/booh
index acab8a661ece45a06709c732c4c48903573c6f3c..7a3cd039c8cdc52098a8def6fbadfb872c668157 100755 (executable)
--- a/booh
+++ b/booh
@@ -184,7 +184,9 @@ def handle_options
         die __("Missing --destination parameter.")
     end
     if !$xmldoc
-        die __("One of --config, --config-skel or --merge-config is needed.")
+        $xmldoc = Document.new "<booh version='#{$VERSION}'/>"
+        $xmldoc << XMLDecl.new
+        $mode = 'gen_config'
     end
 
     if !$theme