pactl: Make stat backwards compatible with previous versions.

This is not ideal but in order to aid people using it in scripts
etc, we will maintain backwards compatibiliy here.

Also add a 'short' mode and mention in the man page that this
will ultimately become the default at some point in the future.
This commit is contained in:
Colin Guthrie 2011-08-09 16:29:30 +02:00
parent 49c20b3e3d
commit 8ace9185aa
2 changed files with 15 additions and 7 deletions

View file

@ -66,8 +66,11 @@ USA.
<section name="Commands">
<option>
<p><opt>stat</opt></p>
<optdesc><p>Dump a few statistics about the memory usage of the PulseAudio daemon.</p></optdesc>
<p><opt>stat</opt> [short]</p>
<optdesc><p>Dump a few statistics about the memory usage of the PulseAudio daemon. (Note: for backwards
compatibility, we also show the output of the <arg>info</arg> command. In order to only show
statistics, use the optional <arg>short</arg> argument. In a future version of PA we will
make this the default)</p></optdesc>
</option>
<option>