From 0fbdf5741fbb06688ab6503f464dbeb31a2c70f8 Mon Sep 17 00:00:00 2001 From: Clint Adams Date: Sun, 1 Oct 2006 21:57:04 +0000 Subject: 22803: updates for dchroot and schroot completion, and new completion for dchroot-dsa. --- Completion/Debian/Command/_schroot | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) (limited to 'Completion/Debian/Command/_schroot') diff --git a/Completion/Debian/Command/_schroot b/Completion/Debian/Command/_schroot index 5e52f665d..f10236860 100644 --- a/Completion/Debian/Command/_schroot +++ b/Completion/Debian/Command/_schroot @@ -5,30 +5,30 @@ typeset -A opt_args _arguments -S \ '(-h --help)'{-h,--help}'[help]' \ - '(-a --all)'{-a,--all}'[all chroots and active sessions]' \ - '--all-chroots' \ - '--all-sessions' \ - '*'{-c,--chroot=}':chroot:->chroot' \ - '(-u --user)'{-u,--user=}':user:_users' \ + '(-a --all)'{-a,--all}'[select all chroots and active sessions]' \ + '--all-chroots[select all chroots]' \ + '--all-sessions[select all active sessions]' \ + '*'{-c,--chroot=}'[use specified chroot]:chroot:->chroot' \ + '(-d --directory)'{-d,--directory=}'[directory to use]:dir:_files -W / -P /' \ + '(-u --user)'{-u,--user=}'[username (default current user)]:user:_users' \ '(-l --list)'{-l,--list}'[list available chroots]' \ - '(-i --info)'{-i,--info}'[print detailed information about specified chroots]' \ - '--location[print location of specified chroots]' \ - '--config[print configuration of specified chroots]' \ - '(-p --preserve-environment)'{-p,--preserve-environment}'[preserve user environment within chroot]' \ + '(-i --info)'{-i,--info}'[show information about selected chroots]' \ + '--location[print location of selected chroots]' \ + '--config[dump configuration of selected chroots]' \ + '(-p --preserve-environment)'{-p,--preserve-environment}'[preserve user environment]' \ '(-q --quiet)'{-q,--quiet}'[quiet]' \ '(-v --verbose)'{-v,--verbose}'[verbose]' \ '(-V --version)'{-V,--version}'[version]' \ - '(-b --begin-session)'{-b,--begin-session}'[begin a session]' \ - '--recover-session}[recover an existing session]' \ - '(-e --end-session)'{-e,--end-session=}':session UUID:' \ - '(-f --force)'{-f,--force}'[force a session operation]' \ + '(-b --begin-session)'{-b,--begin-session}'[begin a session; returns a session ID]' \ + '--recover-session[recover an existing session]' \ + '(-e --end-session)'{-e,--end-session}'[end an existing session]' \ + '(-f --force)'{-f,--force}'[force operation]' \ '(-):command name: _command_names -e' \ '*::arguments: _normal' && return 0 case "$state" in (chroot) _wanted tag expl 'chroot' \ - compadd $(schroot -l) + compadd $(schroot -l -a) ;; - esac -- cgit 1.4.1