Add "delete" to "delete" pattern in whatnow2's case construct
authorm@mmmmarascio.xyz <m@mmmmarascio.xyz>
Fri, 12 Aug 2016 16:00:05 +0000 (09:00 -0700)
committerPhilipp 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

index 4f957e2..00a40e1 100755 (executable)
@@ -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
        ;;