mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-15 16:44:36 +02:00
8226608: Hide the onjcmd option from the help output
Reviewed-by: sspitsyn, clanger
This commit is contained in:
parent
c4f68dd8b6
commit
334e93b09e
2 changed files with 2 additions and 3 deletions
|
@ -129,7 +129,7 @@ void DCmdRegistrant::register_dcmds(){
|
||||||
|
|
||||||
// Debug on cmd (only makes sense with JVMTI since the agentlib needs it).
|
// Debug on cmd (only makes sense with JVMTI since the agentlib needs it).
|
||||||
#if INCLUDE_JVMTI
|
#if INCLUDE_JVMTI
|
||||||
DCmdFactory::register_DCmdFactory(new DCmdFactoryImpl<DebugOnCmdStartDCmd>(full_export, true, false));
|
DCmdFactory::register_DCmdFactory(new DCmdFactoryImpl<DebugOnCmdStartDCmd>(full_export, true, true));
|
||||||
#endif // INCLUDE_JVMTI
|
#endif // INCLUDE_JVMTI
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 1998, 2018, Oracle and/or its affiliates. All rights reserved.
|
* Copyright (c) 1998, 2019, Oracle and/or its affiliates. All rights reserved.
|
||||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
*
|
*
|
||||||
* This code is free software; you can redistribute it and/or modify it
|
* This code is free software; you can redistribute it and/or modify it
|
||||||
|
@ -873,7 +873,6 @@ printUsage(void)
|
||||||
"launch=<command line> run debugger on event none\n"
|
"launch=<command line> run debugger on event none\n"
|
||||||
"onthrow=<exception name> debug on throw none\n"
|
"onthrow=<exception name> debug on throw none\n"
|
||||||
"onuncaught=y|n debug on any uncaught? n\n"
|
"onuncaught=y|n debug on any uncaught? n\n"
|
||||||
"onjcmd=y|n start debug via jcmd? n\n"
|
|
||||||
"timeout=<timeout value> for listen/attach in milliseconds n\n"
|
"timeout=<timeout value> for listen/attach in milliseconds n\n"
|
||||||
"mutf8=y|n output modified utf-8 n\n"
|
"mutf8=y|n output modified utf-8 n\n"
|
||||||
"quiet=y|n control over terminal messages n\n"));
|
"quiet=y|n control over terminal messages n\n"));
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue