Skip to content

Commit

Permalink
msynctool: code cleanups
Browse files Browse the repository at this point in the history
  • Loading branch information
scop committed Apr 14, 2019
1 parent 689beea commit 0fddd55
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions completions/msynctool
Original file line number Diff line number Diff line change
Expand Up @@ -14,20 +14,20 @@ _msynctool()
;;
--addmember)
COMPREPLY=( $(compgen -W '$($1 --listplugins \
| command sed -e '1d')' -- "$cur") )
| command sed -e 1d)' -- "$cur") )
return
;;
esac

case $prev in
--configure|--addgroup|--delgroup|--showgroup|--sync|--addmember)
COMPREPLY=( $(compgen -W '$($1 --listgroups \
| command sed -e '1d')' -- "$cur") )
| command sed -e 1d)' -- "$cur") )
return
;;
--showformats|--filter-objtype|--slow-sync)
COMPREPLY=( $(compgen -W '$($1 --listobjects \
| command sed -e '1d')' -- "$cur") )
| command sed -e 1d)' -- "$cur") )
return
;;
esac
Expand Down

0 comments on commit 0fddd55

Please sign in to comment.