Changeset 18103 in vbox
- Timestamp:
- Mar 20, 2009 10:00:46 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/webservice/vboxweb.cpp
r18079 r18103 38 38 #include <iprt/initterm.h> 39 39 #include <iprt/getopt.h> 40 #include <iprt/ctype.h> 40 41 #include <iprt/process.h> 41 42 #include <iprt/stream.h> … … 310 311 #endif 311 312 case VINF_GETOPT_NOT_OPTION: 312 RTStrmPrintf(g_pStdErr, " Unknown option%s\n", ValueUnion.psz);313 RTStrmPrintf(g_pStdErr, "unhandled parameter: %s\n", ValueUnion.psz); 313 314 return 1; 314 315 315 316 default: 316 317 if (c > 0) 317 RTStrmPrintf(g_pStdErr, "missing case: %c\n", c); 318 { 319 if (RT_C_IS_GRAPH(c)) 320 RTStrmPrintf(g_pStdErr, "unhandled option: -%c", c); 321 else 322 RTStrmPrintf(g_pStdErr, "unhandled option: %i", c); 323 } 324 else if (c == VERR_GETOPT_UNKNOWN_OPTION) 325 RTStrmPrintf(g_pStdErr, "unknown option: %s", ValueUnion.psz); 318 326 else if (ValueUnion.pDef) 319 327 RTStrmPrintf(g_pStdErr, "%s: %Rrs", ValueUnion.pDef->pszLong, c);
Note:
See TracChangeset
for help on using the changeset viewer.