Annotations will always be done inplace from now on.
[mmh] / docs / COMPLETION-BASH
index f759c35..918e285 100644 (file)
@@ -13,7 +13,7 @@ _nmh()
     prev=${COMP_WORDS[COMP_CWORD-1]}
     command=$1
 
     prev=${COMP_WORDS[COMP_CWORD-1]}
     command=$1
 
-    orig_opts=$(shopt -p extglob) 
+    orig_opts=$(shopt -p extglob)
     shopt -s extglob
 
     # Get the folder, if specified
     shopt -s extglob
 
     # Get the folder, if specified
@@ -21,30 +21,30 @@ _nmh()
     do
         case "${COMP_WORDS[i]}" in
         \++([a-zA-Z_]) )
     do
         case "${COMP_WORDS[i]}" in
         \++([a-zA-Z_]) )
-            folder=${COMP_WORDS[i]} 
+            folder=${COMP_WORDS[i]}
             origfolder=$( folder -f )
             ;;
         esac
     done
 
             origfolder=$( folder -f )
             ;;
         esac
     done
 
-    case $current in 
-    -* ) 
+    case $current in
+    -* )
         # Command-line switches for the most common commands.
         case $command in
         # Command-line switches for the most common commands.
         case $command in
-        ali ) 
+        ali )
             # no sequences or messages
             options=(-alias -list -nolist -normalize -nonormalize -user
                     -nouser -version -help)
             ;;
             # no sequences or messages
             options=(-alias -list -nolist -normalize -nonormalize -user
                     -nouser -version -help)
             ;;
-        burst ) 
+        burst )
             options=(-inplace -noinplace -quiet -noquiet -verbose
                     -noverbose -version -help)
             ;;
         comp )
             options=(-inplace -noinplace -quiet -noquiet -verbose
                     -noverbose -version -help)
             ;;
         comp )
-            options=(-form -use -nouse -file -draftfolder -draftmessage
-                    -nodraftfolder -editor -noedit -whatnowproc -nowhatnowproc
+            options=(-form -use -nouse -file
+                    -editor -noedit -whatnowproc -nowhatnowproc
                     -version -help )
                     -version -help )
-           ;; 
+           ;;
         flist* )
             options=(-sequence -all -noall -showzero -noshowzero
                     -recurse -norecurse -fast -nofast -alpha -noalpha -version
         flist* )
             options=(-sequence -all -noall -showzero -noshowzero
                     -recurse -norecurse -fast -nofast -alpha -noalpha -version
@@ -58,9 +58,9 @@ _nmh()
             ;;
         forw )
             options=(-annotate -noannotate -form -format -noformat
             ;;
         forw )
             options=(-annotate -noannotate -form -format -noformat
-                    -filter -inplace -noinplace -mime -nomime -draftfolder
-                    -draftmessage -nodraftfolder -editor -noedit -whatnowproc
-                    -nowhatnowproc -dashstuffing -nodashstuffing -build -file
+                    -filter -mime -nomime
+                    -editor -noedit -whatnowproc
+                    -nowhatnowproc -build -file
                     -version -help)
             ;;
         inc )
                     -version -help)
             ;;
         inc )
@@ -96,8 +96,8 @@ _nmh()
         repl )
             options=(-annotate -noannotate -group -nogroup -cc
                     -nocc -query -noquery -form -format -noformat -filter
         repl )
             options=(-annotate -noannotate -group -nogroup -cc
                     -nocc -query -noquery -form -format -noformat -filter
-                    -inplace -noinplace -mime -nomime -fcc -width -draftfolder
-                    -draftmessage -nodraftfolder -editor -noedit -whatnowproc
+                    -mime -nomime -fcc -width
+                    -editor -noedit -whatnowproc
                     -nowhatnowproc -build -file -version -help)
             ;;
         rmf )
                     -nowhatnowproc -build -file -version -help)
             ;;
         rmf )
@@ -108,7 +108,7 @@ _nmh()
             ;;
         scan )
             options=(-clear -noclear -form -format -header -noheader
             ;;
         scan )
             options=(-clear -noclear -form -format -header -noheader
-                    -width -reverse -noreverse -file -version -help )
+                    -width -file -version -help )
             ;;
         show )
             options=(-draft -showproc -showmimeproc -header -noheader
             ;;
         show )
             options=(-draft -showproc -showmimeproc -header -noheader
@@ -118,10 +118,6 @@ _nmh()
             options=(-datefield -textfield -notextfield -limit -nolimit
                     -verbose -noverbose -version -help)
             ;;
             options=(-datefield -textfield -notextfield -limit -nolimit
                     -verbose -noverbose -version -help)
             ;;
-        whom )
-            options=(-alias -check -nocheck -draft -draftfolder
-                    -draftmessage -nodraftfolder -version -help)
-            ;;
         * )
             options=(-help -version -seq)
             ;;
         * )
             options=(-help -version -seq)
             ;;
@@ -161,4 +157,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 mhn mhparam mhpath mhshow mhstore msgchk next packf pick prev prompter rcvdist rcvpack rcvstore rcvtty  refile repl rmf rmm scan send sendfiles show slocal sortm whatnow whom 
+[ "$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 rcvtty  refile repl rmf rmm scan send sendfiles show slocal sortm whatnow