projects
/
mmh
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
75efa1e
)
Add "delete" to "delete" pattern in whatnow2's case construct
author
m@mmmmarascio.xyz
<m@mmmmarascio.xyz>
Fri, 12 Aug 2016 16:00:05 +0000
(09:00 -0700)
committer
Philipp Takacs
<philipp@bureaucracy.de>
Fri, 12 Aug 2016 18:21:53 +0000
(20:21 +0200)
The attached patch modifies whatnow2 so that calling `whatnow2 delete`
works as may be expected. Without this change, the "delete" function
in whatnow2 was called only when whatnow2 was executed as one of the
following.
* whatnow2 del
* whatnow2 dele
* whatnow2 delet
uip/whatnow2.sh
patch
|
blob
|
history
diff --git
a/uip/whatnow2.sh
b/uip/whatnow2.sh
index
4f957e2
..
00a40e1
100755
(executable)
--- a/
uip/whatnow2.sh
+++ b/
uip/whatnow2.sh
@@
-263,7
+263,7
@@
l|li|lis|list)
s|se|sen|send)
send "$@"
;;
-del|dele|delet)
+del|dele|delet|delete)
[ $# -eq 0 ] || usage 1
delete
;;