diff options
| author | Dave Reisner <dreisner@archlinux.org> | 2012-08-13 21:48:33 -0400 | 
|---|---|---|
| committer | Dave Reisner <dreisner@archlinux.org> | 2012-08-13 21:48:33 -0400 | 
| commit | 58735055c87f9a5feacad8e07c97dabb2f15b476 (patch) | |
| tree | d5aad13919b1c08d0af88630fc70082372bd03e9 | |
| parent | e4a1dc08fb3ba9cdc3468bca451a10d393f9fe76 (diff) | |
| download | mirror-ponymix-58735055c87f9a5feacad8e07c97dabb2f15b476.tar.gz mirror-ponymix-58735055c87f9a5feacad8e07c97dabb2f15b476.tar.bz2 mirror-ponymix-58735055c87f9a5feacad8e07c97dabb2f15b476.zip  | |
cut back on number of fputs calls
| -rw-r--r-- | pulsemix.c | 60 | 
1 files changed, 30 insertions, 30 deletions
@@ -612,36 +612,36 @@ static void pulse_deinit(struct pulseaudio_t *pulse)  static void __attribute__((__noreturn__)) usage(FILE *out)  {  	fprintf(out, "usage: %s [options] <command>...\n", program_invocation_short_name); -	fputs("\nOptions:\n", out); -	fputs(" -h, --help              display this help and exit\n", out); - -	fputs("\n -d, --device            set device mode (default)\n", out); -	fputs(" -a, --app               set application mode\n", out); - -	fputs("\n -o, --sink=<name>       control a sink other than the default\n", out); -	fputs(" -i, --source=<name>     control a source\n", out); - -	fputs("\nCommon Commands:\n", out); -	fputs("  list                   list available devices\n", out); -	fputs("  get-volume             get volume for device\n", out); -	fputs("  set-volume VALUE       set volume for device\n", out); -	fputs("  get-balance            get balance for device\n", out); -	fputs("  set-balance VALUE      set balance for device\n", out); -	fputs("  adj-balance VALUE      increase or decrease balance for device\n", out); -	fputs("  increase VALUE         increase volume\n", out); -	fputs("  decrease VALUE         decrease volume\n", out); -	fputs("  mute                   mute device\n", out); -	fputs("  unmute                 unmute device\n", out); -	fputs("  toggle                 toggle mute\n", out); -	fputs("  is-muted               check if muted\n", out); - -	fputs("\nDevice Commands:\n", out); -	fputs("  defaults               list default devices\n", out); -	fputs("  set-default DEVICE_ID  set default device by ID\n", out); - -	fputs("\nApplication Commands:\n", out); -	fputs("  move APP_ID DEVICE_ID  move application stream by ID to device ID\n", out); -	fputs("  kill APP_ID            kill an application stream by ID\n", out); +	fputs("\nOptions:\n" +	      " -h, --help              display this help and exit\n" + +	      "\n -d, --device            set device mode (default)\n" +	      " -a, --app               set application mode\n" + +	      "\n -o, --sink=<name>       control a sink other than the default\n" +	      " -i, --source=<name>     control a source\n", out); + +	fputs("\nCommon Commands:\n" +	      "  list                   list available devices\n" +	      "  get-volume             get volume for device\n" +	      "  set-volume VALUE       set volume for device\n" +	      "  get-balance            get balance for device\n" +	      "  set-balance VALUE      set balance for device\n" +	      "  adj-balance VALUE      increase or decrease balance for device\n" +	      "  increase VALUE         increase volume\n", out); +	fputs("  decrease VALUE         decrease volume\n" +	      "  mute                   mute device\n" +	      "  unmute                 unmute device\n" +	      "  toggle                 toggle mute\n" +	      "  is-muted               check if muted\n", out); + +	fputs("\nDevice Commands:\n" +	      "  defaults               list default devices\n" +	      "  set-default DEVICE_ID  set default device by ID\n" + +	      "\nApplication Commands:\n" +	      "  move APP_ID DEVICE_ID  move application stream by ID to device ID\n" +	      "  kill APP_ID            kill an application stream by ID\n", out);  	exit(out == stderr ? EXIT_FAILURE : EXIT_SUCCESS);  }  | 
