Remove unused code
[mmh] / docs / COMPLETION-BASH
index 70ac3b2..35cdf9f 100644 (file)
@@ -37,82 +37,81 @@ _nmh()
         ali )
             # no sequences or messages
             options=(-alias -list -nolist -normalize -nonormalize -user
-                    -nouser -version -help)
+                    -nouser -Version -help)
             ;;
         burst )
             options=(-inplace -noinplace -quiet -noquiet -verbose
-                    -noverbose -version -help)
+                    -noverbose -Version -help)
             ;;
         comp )
             options=(-form -use -nouse
-                    -editor -noedit -whatnowproc -nowhatnowproc
-                    -version -help )
+                    -editor -noedit -whatnowproc
+                    -Version -help )
            ;;
         flist* )
             options=(-sequence -all -noall -showzero -noshowzero
-                    -recurse -norecurse -fast -nofast -alpha -noalpha -version
+                    -recurse -norecurse -fast -nofast -alpha -noalpha -Version
                     -help)
             ;;
         folder* )
             options=(-all -noall -create -nocreate -fast -nofast -header
                     -noheader -recurse -norecurse -total -nototal -list -nolist
                     -push -pop -pack -nopack -print -verbose -noverbose
-                    -version -help)
+                    -Version -help)
             ;;
         forw )
             options=(-annotate -noannotate -form
-                    -editor -noedit -whatnowproc
-                    -nowhatnowproc -build
-                    -version -help)
+                    -editor -noedit -whatnowproc -build
+                    -Version -help)
             ;;
         inc )
             options=(-audit -noaudit -changecur -nochangecur -form
                     -file -silent -nosilent -truncate -notruncate -width
-                    -version -help)
+                    -Version -help)
             ;;
         mark )
             options=(-sequence -add -delete -list -public -nopublic
-                    -zero -nozero -version -help)
+                    -zero -nozero -Version -help)
             ;;
         packf )
-            options=(-file -version -help)
+            options=(-file -Version -help)
             ;;
         pick )
             options=(-and -or -not -lbrace -rbrace --component -cc
                     -date -from -search -subject -to -after -before -datefield
                     -sequence -public -nopublic -zero -nozero -list -nolist
-                    -version -help)
+                    -Version -help)
             ;;
         refile )
-            options=(-link -nolink -src -file -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
-                    -nowhatnowproc -build -file -version -help)
+                    -build -file -Version -help)
             ;;
         rmf )
-            options=(-interactive -nointeractive -version -help)
+            options=(-interactive -nointeractive -Version -help)
             ;;
         rmm )
-            options=(-link -nolink -version -help)
+            options=(-link -nolink -Version -help)
             ;;
         scan )
             options=(-form -header -noheader
-                    -width -file -version -help )
+                    -width -file -Version -help )
             ;;
         show )
         next )
         prev )
-            options=(-file -part -type -form -version -help)
+            options=(-file -part -type -form -Version -help)
             ;;
         sortm )
             options=(-datefield -textfield -notextfield -limit -nolimit
-                    -verbose -noverbose -version -help)
+                    -verbose -noverbose -Version -help)
             ;;
         * )
-            options=(-help -version -seq)
+            options=(-help -Version -seq)
             ;;
         esac
         ;;
@@ -150,4 +149,4 @@ _nmh()
     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 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 next packf pick prev prompter rcvdist rcvpack rcvstore refile repl rmf rmm scan send sendfiles show slocal sortm whatnow