Difference between revisions of "Command-line arguments"

From Owl
Jump to: navigation, search
(Options)
(Options)
Line 13: Line 13:
  
 
=== Options ===
 
=== Options ===
 +
 +
*-c, --config=<filepath>
 +
<blockquote>
 +
Start Owl using the specified Lua configuration file instead of the file found in the application folder. If the specified file is not found or is invalid, Owl will display an error and will not load.
 +
 +
Example:
 +
<pre>owl --ini=/Users/Bob/Downloads/test.ini</pre>
 +
Loads application settings from the test.ini file
 +
</blockquote>
  
 
*-h, --help
 
*-h, --help

Revision as of 08:12, 13 October 2013

Users can pass several command-line arguments to override default behavior. These are the command-line arguments:

Owl command-line arguments

Synopsis

owl -h, --help
owl -v, --version
owl -c, --config=<filepath>
owl -i, --ini=<filepath>
owl -s, --setting=<filepath>

Options

  • -c, --config=<filepath>

Start Owl using the specified Lua configuration file instead of the file found in the application folder. If the specified file is not found or is invalid, Owl will display an error and will not load.

Example:

owl --ini=/Users/Bob/Downloads/test.ini

Loads application settings from the test.ini file

  • -h, --help

Shows the help dialog.

  • -i, --ini=<filepath>

Start Owl using the specified .ini file instead of the .ini found in the application folder. If the specified .ini file is not found or is invalid, Owl will display an error and will not load.

Example:

owl --ini=/Users/Bob/Downloads/test.ini

Loads application settings from the test.ini file

  • -s, --setting=<filepath>

Start Owl using the specified setting file. If the file is not found or is invalid, Owl will attempt to use the setting file in the application folder.

Example:

owl -s=C:\Users\Frank\Desktop\owltest.xml

Loads application settings from the owltest.xml file.

  • -v, --version

Print version information to stdout and exit.

Example

If you want to know the version number from the command-line connect the command is:

owl --version