<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -33,7 +33,7 @@
 
 _django_completion()
 {
-    local cur prev opts actions action_shell_opts
+    local cur prev opts actions action_shell_opts action_runfcgi_opts
     COMPREPLY=()
     cur=&quot;${COMP_WORDS[COMP_CWORD]}&quot;
     prev=&quot;${COMP_WORDS[COMP_CWORD-1]}&quot;
@@ -42,12 +42,13 @@ _django_completion()
     opts=&quot;--help --settings --pythonpath --version&quot;
     # Actions
     actions=&quot;adminindex createcachetable dbshell diffsettings \
-             inspectdb install reset runserver \
+             inspectdb install reset runfcgi runserver \
              shell sql sqlall sqlclear sqlindexes sqlinitialdata \
              sqlreset sqlsequencereset startapp startproject \
              syncdb validate&quot;
     # Action's options
     action_shell_opts=&quot;--plain&quot;
+    action_runfcgi_opts=&quot;host port socket method maxspare minspare maxchildren daemonize pidfile workdir&quot;
 
     if [[ # django-admin.py, ./manage, manage.py
           ( ${COMP_CWORD} -eq 1 &amp;&amp;
@@ -64,10 +65,12 @@ _django_completion()
         case ${cur} in
             -*)
                 COMPREPLY=( $(compgen -W &quot;${opts}&quot; -- ${cur}) )
+                action=$COMPREPLY
                 return 0
                 ;;
             *)
                 COMPREPLY=( $(compgen -W &quot;${actions}&quot; -- ${cur}) )
+                action=$COMPREPLY
                 return 0
                 ;;
         esac
@@ -93,6 +96,17 @@ _django_completion()
                 COMPREPLY=( $(compgen -W &quot;$action_shell_opts&quot; -- ${cur}) )
                 return 0
                 ;;
+            runfcgi)
+                COMPREPLY=( $(compgen -W &quot;$action_runfcgi_opts&quot; -- ${cur}) )
+                return 0
+                ;;
+            host*|port*|socket*|method*|maxspare*|minspare*|maxchildren*|daemonize*|pidfile*|workdir*)
+                if [ &quot;$action&quot;  == &quot;runfcgi&quot; ] ; then
+                    COMPREPLY=( $(compgen -W &quot;$action_runfcgi_opts&quot; -- ${cur}) )
+                    return 0
+                fi
+                return 0
+                ;;
             *)
                 #COMPREPLY=( $(compgen -W &quot;auth core&quot; -- ${cur}) )
                 COMPREPLY=()</diff>
      <filename>extras/django_bash_completion</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>6d1a3710196ded72be88d984e13aba9b1322a2e6</id>
    </parent>
  </parents>
  <author>
    <name>mtredinnick</name>
    <email>mtredinnick@bcc190cf-cafb-0310-a4f2-bffc1f526a37</email>
  </author>
  <url>http://github.com/dcramer/django-compositepks/commit/12013534680fefe49487429350538570cc4b71ce</url>
  <id>12013534680fefe49487429350538570cc4b71ce</id>
  <committed-date>2006-06-21T04:15:01-07:00</committed-date>
  <authored-date>2006-06-21T04:15:01-07:00</authored-date>
  <message>Fixed #1240 -- Updated bash completion file to accomodate changes in r3174.
Thanks, Paolo.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@3187 bcc190cf-cafb-0310-a4f2-bffc1f526a37</message>
  <tree>63d1c5014606102708ec39045c452ca9bdf30c7b</tree>
  <committer>
    <name>mtredinnick</name>
    <email>mtredinnick@bcc190cf-cafb-0310-a4f2-bffc1f526a37</email>
  </committer>
</commit>
