]> git.marmaro.de Git - mmh/blobdiff - docs/COMPLETION-BASH
Removed -nowhatnowproc switch as it does nothing useful.
[mmh] / docs / COMPLETION-BASH
index e4af65d2b8c12fd288dac8ac22885e62ee5e5249..c26783a6a285d0253016ee912b423b5d907d083c 100644 (file)
@@ -2,6 +2,9 @@
 # Copyright 2003 "Wade Richards" <wade@wabyn.net>
 # Permission granted to redistribute under the BSD license
 
 # Copyright 2003 "Wade Richards" <wade@wabyn.net>
 # Permission granted to redistribute under the BSD license
 
+[ "$BASH_COMPLETION" ] || echo "ERROR: COMPLETION-BASH is not intended to be \
+sourced directly, but rather added to a bash-completion package installation."
+
 have show &&
 _nmh()
 {
 have show &&
 _nmh()
 {
@@ -42,7 +45,7 @@ _nmh()
             ;;
         comp )
             options=(-form -use -nouse
             ;;
         comp )
             options=(-form -use -nouse
-                    -editor -noedit -whatnowproc -nowhatnowproc
+                    -editor -noedit -whatnowproc
                     -version -help )
            ;;
         flist* )
                     -version -help )
            ;;
         flist* )
@@ -58,8 +61,7 @@ _nmh()
             ;;
         forw )
             options=(-annotate -noannotate -form
             ;;
         forw )
             options=(-annotate -noannotate -form
-                    -editor -noedit -whatnowproc
-                    -nowhatnowproc -build
+                    -editor -noedit -whatnowproc -build
                     -version -help)
             ;;
         inc )
                     -version -help)
             ;;
         inc )
@@ -71,10 +73,6 @@ _nmh()
             options=(-sequence -add -delete -list -public -nopublic
                     -zero -nozero -version -help)
             ;;
             options=(-sequence -add -delete -list -public -nopublic
                     -zero -nozero -version -help)
             ;;
-        next )
-            options=(-showmimeproc -header -noheader -checkmime
-                    -nocheckmime -version -help)
-            ;;
         packf )
             options=(-file -version -help)
             ;;
         packf )
             options=(-file -version -help)
             ;;
@@ -84,19 +82,14 @@ _nmh()
                     -sequence -public -nopublic -zero -nozero -list -nolist
                     -version -help)
             ;;
                     -sequence -public -nopublic -zero -nozero -list -nolist
                     -version -help)
             ;;
-        prev )
-            options=(-showproc -showmimeproc -header -noheader -checkmime
-                    -nocheckmime -version -help)
-            ;;
         refile )
         refile )
-            options=(-link -nolink -preserve -nopreserve -unlink
-                    -nounlink -src -file -rmmproc -normmproc -version -help)
+            options=(-link -nolink -src -file -version -help)
             ;;
         repl )
             options=(-annotate -noannotate -group -nogroup -cc
                     -nocc -query -noquery -form -filter -nofilter
                     -mime -nomime -editor -noedit -whatnowproc
             ;;
         repl )
             options=(-annotate -noannotate -group -nogroup -cc
                     -nocc -query -noquery -form -filter -nofilter
                     -mime -nomime -editor -noedit -whatnowproc
-                    -nowhatnowproc -build -file -version -help)
+                    -build -file -version -help)
             ;;
         rmf )
             options=(-interactive -nointeractive -version -help)
             ;;
         rmf )
             options=(-interactive -nointeractive -version -help)
@@ -109,8 +102,9 @@ _nmh()
                     -width -file -version -help )
             ;;
         show )
                     -width -file -version -help )
             ;;
         show )
-            options=(-showproc -showmimeproc -header -noheader
-                    -checkmime -nocheckmime -version -help)
+        next )
+        prev )
+            options=(-file -part -type -form -version -help)
             ;;
         sortm )
             options=(-datefield -textfield -notextfield -limit -nolimit
             ;;
         sortm )
             options=(-datefield -textfield -notextfield -limit -nolimit
@@ -155,4 +149,4 @@ _nmh()
     COMPREPLY=( $( compgen -W "${options[*]}" -- $current ) )
     return 0
 }
     COMPREPLY=( $( compgen -W "${options[*]}" -- $current ) )
     return 0
 }
-[ "$have" ] && complete -F _nmh ali anno burst comp dist flist flists folder folders forw inc mark mhbuild mhl mhlist mhmail mhparam mhpath mhshow mhstore msgchk next packf pick prev prompter rcvdist rcvpack rcvstore refile repl rmf rmm scan send sendfiles show slocal sortm whatnow
+[ "$have" ] && complete -F _nmh ali anno burst comp dist flist flists folder folders forw inc mark mhbuild mhl mhlist mhmail mhparam mhpath mhstore msgchk next packf pick prev prompter rcvdist rcvpack rcvstore refile repl rmf rmm scan send sendfiles show slocal sortm whatnow