I wrote this very simple functions to parse command line arguments.
It can get:
Simple key/value
Example. The following code:
#include "cmdline.au3"
MsgBox(0, _CmdLine_Get('color'))
Will return "white" if you run the script in one of these ways (quotes are optional but mandatory if you're going to use spaces):
script.exe -color "white"
script.exe --color white
script.exe /color white
Existence
Example. The following code:
#include "cmdline.au3"
If _CmdLine_KeyExists('givemecoffe