.B \-o FILE, \-\-output=FILE
Save XML representation of pipeline to FILE and exit
.TP 8
-.B \-f, \-\-no_fault
+.B \-f, \-\-no\-fault
Do not install a fault handler
.TP 8
-.B \-p, \-\-no_play
-Do not install a playback handler (SIGUSR1/2)
+.B \-p, \-\-no\-sigusr-handler
+Do not install signal handlers for SIGUSR1 (play) and SIGUSR2 (stop)
.TP 8
.B \-T, \-\-trace
Print memory allocation traces. The feature must be enabled at compile time to
sigaction (SIGINT, &action, NULL);
}
+/* FIXME 0.11: remove SIGUSR handling (also from man page) */
static void
play_handler (int signum)
{
/* options */
gboolean verbose = FALSE;
gboolean no_fault = FALSE;
- gboolean no_play = FALSE;
+ gboolean no_sigusr_handler = FALSE;
gboolean trace = FALSE;
gboolean eos_on_shutdown = FALSE;
gchar *savefile = NULL;
#endif
{"no-fault", 'f', 0, G_OPTION_ARG_NONE, &no_fault,
N_("Do not install a fault handler"), NULL},
- {"no-play", 'p', 0, G_OPTION_ARG_NONE, &no_play,
- N_("Do not install a play handler"), NULL},
+ {"no-sigusr-handler", 'p', 0, G_OPTION_ARG_NONE, &no_sigusr_handler,
+ N_("Do not install signal handlers for SIGUSR1 and SIGUSR2"), NULL},
{"trace", 'T', 0, G_OPTION_ARG_NONE, &trace,
N_("Print alloc trace (if enabled at compile time)"), NULL},
{"eos-on-shutdown", 'e', 0, G_OPTION_ARG_NONE, &eos_on_shutdown,
sigint_setup ();
- if (!no_play)
+ if (!no_sigusr_handler)
play_signal_setup ();
#endif