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 =