version 1.47, 2002/05/13 22:38:39
|
version 1.48, 2002/05/14 16:59:32
|
|
|
| |
static const char OPTION_TIMEOUT = 'T'; | static const char OPTION_TIMEOUT = 'T'; |
| |
|
#if defined(PEGASUS_OS_HPUX) |
|
static const char OPTION_BINDVERBOSE = 'X'; |
|
#endif |
|
|
static const String NAMESPACE = "root/PG_Internal"; | static const String NAMESPACE = "root/PG_Internal"; |
static const String CLASSNAME_SHUTDOWNSERVICE = "PG_ShutdownService"; | static const String CLASSNAME_SHUTDOWNSERVICE = "PG_ShutdownService"; |
static const String PROPERTY_TIMEOUT = "operationTimeout"; | static const String PROPERTY_TIMEOUT = "operationTimeout"; |
|
|
memmove(&argv[i], &argv[i + 2], (argc-i-1) * sizeof(char*)); | memmove(&argv[i], &argv[i + 2], (argc-i-1) * sizeof(char*)); |
argc -= 2; | argc -= 2; |
} | } |
|
#if defined(PEGASUS_OS_HPUX) |
|
// |
|
// Check to see if user asked for the version (-v option): |
|
// |
|
if (*option == OPTION_BINDVERBOSE) |
|
{ |
|
System::bindVerbose = true; |
|
cout << "Unsupported debug option, BIND_VERBOSE, enabled." |
|
<< endl; |
|
// remove the option from the command line |
|
memmove(&argv[i], &argv[i + 1], (argc-i) * sizeof(char*)); |
|
argc--; |
|
} |
|
#endif |
// | // |
// Check to see if user asked for shutdown (-s option): | // Check to see if user asked for shutdown (-s option): |
// | // |