From: m@mmmmarascio.xyz Date: Fri, 12 Aug 2016 16:00:05 +0000 (-0700) Subject: Add "delete" to "delete" pattern in whatnow2's case construct X-Git-Tag: mmh-0.3~4 X-Git-Url: http://git.marmaro.de/?p=mmh;a=commitdiff_plain;h=69aecfa8763593b903e6e180f20343a9d27db078 Add "delete" to "delete" pattern in whatnow2's case construct 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 --- diff --git a/uip/whatnow2.sh b/uip/whatnow2.sh index 4f957e2..00a40e1 100755 --- 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 ;;