Index: trunk/ppStats/src/ppStatsStandAlone.c
===================================================================
--- trunk/ppStats/src/ppStatsStandAlone.c	(revision 12354)
+++ trunk/ppStats/src/ppStatsStandAlone.c	(revision 12993)
@@ -28,5 +28,5 @@
 
     // Get the options, open the files
-    ppStatsData *data = ppStatsSetupFromArgs(config);
+    ppStatsData *data = ppStatsSetupFromArgs(&argc, argv, config);
     if (!data) {
         psError(PS_ERR_UNKNOWN, false, "Unable to parse command-line arguments.\n");
@@ -37,6 +37,6 @@
     const char *outName = NULL;         // Output file name
     FILE *outFile = stdout;             // Output file
-    if (*config->argc == 2) {
-        outName = config->argv[1];
+    if (argc == 2) {
+        outName = argv[1];
         if (outName && strlen(outName) > 0) {
             outFile = fopen(outName, "w");
