summary refs log tree commit diff
path: root/src/dash.1
diff options
context:
space:
mode:
Diffstat (limited to 'src/dash.1')
-rw-r--r--src/dash.17
1 files changed, 6 insertions, 1 deletions
diff --git a/src/dash.1 b/src/dash.1
index c7771d0..ddeb52b 100644
--- a/src/dash.1
+++ b/src/dash.1
@@ -663,7 +663,7 @@ These are implemented as builtin commands.
 The syntax of the case command is
 .Bd -literal -offset indent
 case word in
-pattern) list ;;
+[(]pattern) list ;;
 \&...
 esac
 .Ed
@@ -673,6 +673,11 @@ The pattern can actually be one or more patterns (see
 described later), separated by
 .Dq \*(Ba
 characters.
+The
+.Do
+(
+.Dc
+character before the pattern is optional.
 .Ss Grouping Commands Together
 Commands may be grouped by writing either
 .Pp