# HG changeset patch
# User vittorio.giovara@gmail.com
# Date 1277309428 0
# Node ID 5889169b9459358206fb6a3cee2d7e59cdad4ba8
# Parent  99b86a2d46d2383decab8f70b617513e8016e0a0
Added frontend options

diff -r 99b86a2d46d2 -r 5889169b9459 CommandLineOptions.wiki
--- a/CommandLineOptions.wiki	Wed Jun 23 12:36:57 2010 +0000
+++ b/CommandLineOptions.wiki	Wed Jun 23 16:10:28 2010 +0000
@@ -1,10 +1,19 @@
-#summary One-sentence summary of this page.
 #labels Documentation,Engine,Frontend
+o#summary One-sentence summary of this page.
 
 = Frontend =
 
-_are there any command line options?_
+There are two options that enable to load the data directory and the configuration directory in non standard locations.
+
+  * {{{--data-dir=[path containing 'hedgewars/Data']}}}
+  * {{{--config-dir=[path containing 'Demos' 'Saves' etc.]}}}
 
+You can set up both on the command line. The program exits if either of the folders is not correct; quotes are optional, but needed if your path contains spaces
+
+_Example_ 
+{{{
+$ /usr/bin/hedgewars --data-dir="/opt/local/share/" --config-dir=".hedgewars/tesing config/"
+}}}
 
 = Engine =