~maxgyver83/emailbook

Bug fix: Correct case pattern in add v1 PROPOSED

Jakob Lorenz: 1
 Bug fix: Correct case pattern in add

 1 files changed, 1 insertions(+), 1 deletions(-)
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.sr.ht/~maxgyver83/emailbook/patches/51785/mbox | git am -3
Learn more about email & git

[PATCH] Bug fix: Correct case pattern in add Export this patch

---
 emailbook | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/emailbook b/emailbook
index 9d46348..c2bbb0d 100755
--- a/emailbook
+++ b/emailbook
@@ -48,7 +48,7 @@ addentry() {
add() {
    checkfilename
    case $# in
    1,2) addentry "$@" ;;
    1|2) addentry "$@" ;;
    *) echo "Expected one or two arguments after -a!"; exit 1 ;;
    esac
}
-- 
2.45.0