Changeset 4490 in ntrip
- Timestamp:
- Aug 4, 2012, 8:43:22 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/bncmain.cpp
r4447 r4490 65 65 // Main Program 66 66 ///////////////////////////////////////////////////////////////////////////// 67 int main(int argc, char *argv[]) {67 int main(int argc, char* argv[]) { 68 68 69 69 bool interactive = true; 70 bool displaySet = false; 70 71 QByteArray rawFileName; 71 72 QString confFileName; 72 73 73 74 QByteArray printHelp = "Usage: bnc --nw \n" 75 " --display <XXX> \n" 74 76 " --conf <confFileName> \n" 75 77 " --file <rawFileName> \n" … … 83 85 if (QRegExp("--?nw").exactMatch(argv[ii])) { 84 86 interactive = false; 87 } 88 if (QRegExp("--?display").exactMatch(argv[ii])) { 89 displaySet = true; 90 if (QRegExp("--display").exactMatch(argv[ii])) { 91 argv[ii] = "-display"; 92 } 85 93 } 86 94 if (ii + 1 < argc) {
Note:
See TracChangeset
for help on using the changeset viewer.