From 7996968eb3ad7fc7c56583c1a59d2442e88d0888 Mon Sep 17 00:00:00 2001 From: Sorin Ionescu Date: Sat, 18 Feb 2012 13:25:11 -0500 Subject: [PATCH] attach: fixed typos and lower cased descriptions --- _attach | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/_attach b/_attach index 20f36eb..ac0c344 100644 --- a/_attach +++ b/_attach @@ -16,24 +16,24 @@ local state mode_values existing_sessions ret=1 mode_values=( - "none:Disable redrawing completely" - "ctrl_l:Send a ^L character if the terminal is in char-at-a-time mode to the program" - "winch:Send a WINCH signal to the program" + "none:disable redrawing" + "ctrl_l:use ctrl + l to redraw" + "winch:use sigwinch to redraw" ) existing_sessions=($(_call_program session attach)) _arguments -C -s -S \ - '(--list -l)'{--list,-l}'[List sessions]' \ - '(--sockets -L)'{--sockets,-L}'[List sockets]' \ - '(--session -s)'{--session=,-s+}'[Set the session name]:session' \ - '(--char -c)'{--char=,-c+}'[Set the detach character (default: ^\\)]:char' \ - '(--redraw -r)'{--redraw=,-r+}'[Set the redraw method (none, ctrl_l, or winch)]:mode:->mode' \ - '(--detached -d)'{--detached,-d}'[Start the session detched]' \ - '(--no-detach -D)'{--no-detach,-D}'[Disable detaching]' \ - '(--no-suspend -Z)'{--no-suspend,-Z}'[Disable suspending]' \ - '(--version -v)'{--version,-v}'[Display version and copyright]' \ - '(--help -h)'{--help,-h}'[Display this help]' \ + '(--list -l)'{--list,-l}'[list sessions]' \ + '(--sockets -L)'{--sockets,-L}'[list sockets]' \ + '(--session -s)'{--session=,-s+}'[set the session name]:session' \ + '(--char -c)'{--char=,-c+}'[set the detach character (default: ^\\)]:char' \ + '(--redraw -r)'{--redraw=,-r+}'[set the redraw method (none, ctrl_l, or winch)]:mode:->mode' \ + '(--detached -d)'{--detached,-d}'[start the session detached]' \ + '(--no-detach -D)'{--no-detach,-D}'[disable detaching]' \ + '(--no-suspend -Z)'{--no-suspend,-Z}'[disable suspending]' \ + '(--version -v)'{--version,-v}'[display version and copyright]' \ + '(--help -h)'{--help,-h}'[display help]' \ '(-)::args:->session-or-command' && ret=0 case "$state" in