Add globals to track command-line arguments.
Fix compiler warnings.
Implement parsing command-line arguments.
Add usage information.
Fix example for set-locale.
Implement locateParseError.
Implement support for -e/--script options.
Add reset-registers function to support -D option.