aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Reisner <dreisner@archlinux.org>2013-01-03 14:45:38 -0500
committerDave Reisner <dreisner@archlinux.org>2013-01-03 14:45:38 -0500
commit270910b82218a840b99b72859b308451c73c5c1b (patch)
tree8967b417d031e98afb7bba4255025c55b3099c65
parentf374fb2792f5a9fb0aefe4dd1387b2bdace418b3 (diff)
downloadmirror-ponymix-270910b82218a840b99b72859b308451c73c5c1b.tar.gz
mirror-ponymix-270910b82218a840b99b72859b308451c73c5c1b.tar.bz2
mirror-ponymix-270910b82218a840b99b72859b308451c73c5c1b.zip
show description in list-short
-rw-r--r--ponymix.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/ponymix.cc b/ponymix.cc
index 459305f..fc20315 100644
--- a/ponymix.cc
+++ b/ponymix.cc
@@ -98,10 +98,11 @@ static Device* string_to_device_or_die(PulseClient& ponymix,
static void Print(const Device& device, bool shirt) {
if (shirt) {
- printf("%s\t%d\t%s\n",
+ printf("%s\t%d\t%s\t%s\n",
type_to_string(device.Type()),
device.Index(),
- device.Name().c_str());
+ device.Name().c_str(),
+ device.Desc().c_str());
return;
}