aboutsummaryrefslogtreecommitdiffstats
path: root/ponymix.cc
diff options
context:
space:
mode:
authorDave Reisner <dreisner@archlinux.org>2013-01-02 22:48:29 -0500
committerDave Reisner <dreisner@archlinux.org>2013-01-02 22:48:29 -0500
commit99d86934399e9691a0b8dae5ce273e3909476429 (patch)
treec5f9dba3547166f8a0ec1517177d88915ccf9e6c /ponymix.cc
parentb5cbd96d9cb25b5c4922c52df7ab93b9a4d0707f (diff)
downloadmirror-ponymix-99d86934399e9691a0b8dae5ce273e3909476429.tar.gz
mirror-ponymix-99d86934399e9691a0b8dae5ce273e3909476429.tar.bz2
mirror-ponymix-99d86934399e9691a0b8dae5ce273e3909476429.zip
reorg usage output
Diffstat (limited to 'ponymix.cc')
-rw-r--r--ponymix.cc18
1 files changed, 7 insertions, 11 deletions
diff --git a/ponymix.cc b/ponymix.cc
index b1524f5..2f76905 100644
--- a/ponymix.cc
+++ b/ponymix.cc
@@ -485,8 +485,10 @@ static void usage() {
" --sink-input alias to -t sink-input\n"
" --source-output alias to -t source-output\n", stdout);
- fputs("\nCommon Commands:\n"
+ fputs("\nDevice Commands:\n"
" help display this message\n"
+ " defaults list default devices (default command)\n"
+ " set-default set default device by ID\n"
" list list available devices\n"
" list-short list available devices (short form)\n"
" list-cards list available cards\n"
@@ -501,21 +503,15 @@ static void usage() {
" mute mute device\n"
" unmute unmute device\n"
" toggle toggle mute\n"
- " is-muted check if muted\n", stdout);
+ " is-muted check if muted\n"
+ " move DEVICE move target device to DEVICE\n"
+ " kill DEVICE kill target DEVICE\n", stdout);
fputs("\nCard Commands:\n"
" list-profiles list available profiles for a card\n"
" list-profiles-short list available profiles for a card (short form)\n"
" get-profile get active profile for card\n"
- " set-profile PROFILE set profile for a card\n"
-
- "\nDevice Commands:\n"
- " defaults list default devices (default command)\n"
- " set-default DEVICE set default device by ID\n"
-
- "\nApplication Commands:\n"
- " move DEVICE move target device to DEVICE\n"
- " kill DEVICE kill target DEVICE\n", stdout);
+ " set-profile PROFILE set profile for a card\n", stdout);
exit(EXIT_SUCCESS);
}