diff options
author | Henrik Nord <[email protected]> | 2014-01-23 14:33:19 +0100 |
---|---|---|
committer | Henrik Nord <[email protected]> | 2014-01-23 14:33:22 +0100 |
commit | 3aca82c628ca656c5c11dcb44a27ab12f0c76f67 (patch) | |
tree | 4997b2632c5a9e23b15059e21e7bf16840f6159a /lib/runtime_tools | |
parent | 12e24220c078750da1acb71d720218295e5d16b8 (diff) | |
parent | 843ec2fd63fdf3d15f5e2e50f93c80273b280ec4 (diff) | |
download | otp-3aca82c628ca656c5c11dcb44a27ab12f0c76f67.tar.gz otp-3aca82c628ca656c5c11dcb44a27ab12f0c76f67.tar.bz2 otp-3aca82c628ca656c5c11dcb44a27ab12f0c76f67.zip |
Merge branch 'lucafavatella/fix-doc-of-dbg-stop'
* lucafavatella/fix-doc-of-dbg-stop:
Correct doc of return value of dbg:{stop,stop_clear} functions
OTP-11603
Diffstat (limited to 'lib/runtime_tools')
-rw-r--r-- | lib/runtime_tools/doc/src/dbg.xml | 4 | ||||
-rw-r--r-- | lib/runtime_tools/src/dbg.erl | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/lib/runtime_tools/doc/src/dbg.xml b/lib/runtime_tools/doc/src/dbg.xml index bf1a7621fd..d31ccd834d 100644 --- a/lib/runtime_tools/doc/src/dbg.xml +++ b/lib/runtime_tools/doc/src/dbg.xml @@ -1024,7 +1024,7 @@ hello</pre> </desc> </func> <func> - <name>stop() -> stopped</name> + <name>stop() -> ok</name> <fsummary>Stop the <c>dbg</c>server and the tracing of all processes.</fsummary> <desc> <p>Stops the <c>dbg</c> server and clears all trace flags for @@ -1035,7 +1035,7 @@ hello</pre> </desc> </func> <func> - <name>stop_clear() -> stopped</name> + <name>stop_clear() -> ok</name> <fsummary>Stop the <c>dbg</c>server and the tracing of all processes, and clears trace patterns.</fsummary> <desc> <p>Same as stop/0, but also clears all trace patterns on local diff --git a/lib/runtime_tools/src/dbg.erl b/lib/runtime_tools/src/dbg.erl index f0086e8cc7..186563ab74 100644 --- a/lib/runtime_tools/src/dbg.erl +++ b/lib/runtime_tools/src/dbg.erl @@ -1786,12 +1786,12 @@ h(get_tracer) -> " - Returns the process or port to which all trace messages are sent."]); h(stop) -> help_display( - ["stop() -> stopped", + ["stop() -> ok", " - Stops the dbg server and the tracing of all processes.", " Does not clear any trace patterns."]); h(stop_clear) -> help_display( - ["stop_clear() -> stopped", + ["stop_clear() -> ok", " - Stops the dbg server and the tracing of all processes,", " and clears all trace patterns."]). |