Changeset 841
- Timestamp:
- 01/31/10 00:37:25 (7 months ago)
- Files:
-
- 1 modified
-
trunk/updater/main.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/updater/main.cpp
r840 r841 64 64 // Windows has no getopt() therefore we must do it by hand and as a result my implementation is not the best or the 65 65 // cleanest but it does work 66 printf("argc %d\n", argc);67 66 for(int i = 1; i < argc; i++) { 68 printf("next arg is %s\n", argv[i]);69 printf("after that is %s\n", argv[i + 1]);70 67 if(argv[i][0] == '-') { 71 68 if(argv[i][1] == 'c') { … … 95 92 waitExit(1); 96 93 } else { 97 printf("going to set our patch file to %s\n", argv[i + 1]);98 94 patchFile = argv[i + 1]; 99 printf("patchFile is %s\n", patchFile.c_str());100 95 } 101 96
