Permalink
Browse files

updated scrapy_bash_completion

  • Loading branch information...
1 parent e9cef3a commit c3e91ba73e93f994b23824361cd52ad1a25ce80d @pablohoffman pablohoffman committed Oct 12, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 extras/scrapy_bash_completion
@@ -5,13 +5,13 @@ _scrapy_completion() {
cmd=${COMP_WORDS[1]}
cur=${COMP_WORDS[2]}
case "$cmd" in
- crawl|edit)
+ crawl|edit|check)
spiders=$(scrapy list 2>/dev/null) || spiders=""
COMPREPLY=(${COMPREPLY[@]:-} $(compgen -W "$spiders" -- "$cur"))
;;
*)
if [ $COMP_CWORD -eq 1 ]; then
- commands="crawl deploy fetch genspider list parse queue runserver runspider settings shell startproject view"
+ commands="check crawl deploy edit fetch genspider list parse runspider server settings shell startproject version view"
COMPREPLY=(${COMPREPLY[@]:-} $(compgen -W "$commands" -- "$cmd"))
fi
;;

0 comments on commit c3e91ba

Please sign in to comment.