From 1b5eb7da8cd211313b4ddba85a12fdb1079267d3 Mon Sep 17 00:00:00 2001 From: Shohei YOSHIDA Date: Sun, 8 Mar 2026 21:58:29 +0900 Subject: [PATCH] fix ldattach - remove needless comma from exclusive option list --- src/_ldattach | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/_ldattach b/src/_ldattach index 217d33d..775616e 100644 --- a/src/_ldattach +++ b/src/_ldattach @@ -41,10 +41,10 @@ local context state line local curcontext="$curcontext" _arguments -s -C \ - '(-1,--onestopbit)'{-1,--onestopbit}'[Set the number of stop bits of the serial line to one]' \ - '(-2,--twostopbits)'{-2,--twostopbits}'[Set the number of stop bits of the serial line to two]' \ - '(-7,--sevenbits)'{-7,--sevenbits}'[Set the character size of the srial line to 7 bits]' \ - '(-8,--eightbits)'{-8,--eightbits}'[Set the character size of the srial line to 8 bits]' \ + '(-1 --onestopbit)'{-1,--onestopbit}'[Set the number of stop bits of the serial line to one]' \ + '(-2 --twostopbits)'{-2,--twostopbits}'[Set the number of stop bits of the serial line to two]' \ + '(-7 --sevenbits)'{-7,--sevenbits}'[Set the character size of the serial line to 7 bits]' \ + '(-8 --eightbits)'{-8,--eightbits}'[Set the character size of the serial line to 8 bits]' \ '(-d --debug)'{-d,--debug}'[Enable debugging output]' \ '(-e --evenparity)'{-e,--evenparity}'[Set the parity of the serial line to even]' \ '(-i --iflag)'{-i,--iflag}'[Set the specified bits in the c_iflag word of the serial line]:value' \