projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Dropped old show(1) and renamed mhshow(1) to show(1).
[mmh]
/
docs
/
COMPLETION-BASH
diff --git
a/docs/COMPLETION-BASH
b/docs/COMPLETION-BASH
index
3f3829c
..
70ac3b2
100644
(file)
--- a/
docs/COMPLETION-BASH
+++ b/
docs/COMPLETION-BASH
@@
-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()
{
@@
-71,10
+74,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,13
+83,8
@@
_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
;;
repl )
options=(-annotate -noannotate -group -nogroup -cc
@@
-105,12
+99,13
@@
_nmh()
options=(-link -nolink -version -help)
;;
scan )
options=(-link -nolink -version -help)
;;
scan )
- options=(-clear -noclear -form -header -noheader
+ options=(-form -header -noheader
-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
+150,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