From 769996555c7fcea65102c2aa42506247f8d783e0 Mon Sep 17 00:00:00 2001 From: Lai-YT <381xvmvbib@gmail.com> Date: Wed, 2 Aug 2023 17:13:53 +0800 Subject: [PATCH] docs: surround must-choose-one option group with braces See also: https://docs.oracle.com/cd/E19455-01/806-2914/6jc3mhd5q/index.html --- src/messages.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/messages.c b/src/messages.c index c82172c..9bd67c5 100644 --- a/src/messages.c +++ b/src/messages.c @@ -30,7 +30,7 @@ void help() { */ void usage() { fprintf(stdout, YELLOW "Usage: " NO_COLOR); - fprintf(stdout, "%s [-h] [-V] [-g regexp [-o FILE]] [[-c] regexp string]\n\n", + fprintf(stdout, "%s [-h] [-V] {-g regexp [-o FILE] | [-c] regexp string}\n\n", PROGRAM_NAME); }