From d80b706ba9322499e1c73d561c7cc238f9250bea Mon Sep 17 00:00:00 2001 From: Pierre Pronchery Date: Tue, 4 Mar 2025 00:53:52 +0100 Subject: [PATCH] panel-message: complete the usage screen --- tools/message.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/tools/message.c b/tools/message.c index 8b308c3..1df6a33 100644 --- a/tools/message.c +++ b/tools/message.c @@ -180,7 +180,14 @@ static int _error(char const * message, int ret) static int _usage(void) { fprintf(stderr, _("Usage: %s [-EIQW][-T title][-t timeout] message\n" -" %s [-N name][-T title][-t timeout] message\n"), PROGNAME_PANEL_MESSAGE, +" %s [-N name][-T title][-t timeout] message\n" +" -E Create an error dialog\n" +" -I Create an informational message\n" +" -N Choose a specific icon\n" +" -Q Create a question dialog\n" +" -T Set the dialog title\n" +" -W Create a warning dialog\n" +" -t Set the dialog timeout\n"), PROGNAME_PANEL_MESSAGE, PROGNAME_PANEL_MESSAGE); return 1; }