Commit e1d27370ef5a6da06bbda0fc78bf629f1cb3ccd3

Stefan Sperling 2021-09-01T11:58:40

Fix ksh completion example to complete the first arg only; from Clint Pachl

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/got/got.1 b/got/got.1
index f269d7f..02e13d5 100644
--- a/got/got.1
+++ b/got/got.1
@@ -2431,7 +2431,7 @@ Enable tab-completion of
 command names in
 .Xr ksh 1 :
 .Pp
-.Dl $ set -A complete_got -- $(got -h 2>&1 | sed -n s/commands://p)
+.Dl $ set -A complete_got_1 -- $(got -h 2>&1 | sed -n s/commands://p)
 .Pp
 Clone an existing Git repository for use with
 .Nm .