From ae77a04f3e086dbe2126a035d7f8f2d842bb8727 Mon Sep 17 00:00:00 2001 From: Henrik Grimler Date: Mon, 26 Apr 2021 08:26:25 +0200 Subject: [PATCH] termux-sms-list: fix -t argument and re-order command list --- scripts/termux-sms-list | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/termux-sms-list b/scripts/termux-sms-list index 5fc2e01..b700b0c 100755 --- a/scripts/termux-sms-list +++ b/scripts/termux-sms-list @@ -25,17 +25,17 @@ show_usage () { exit 0 } -while getopts :hdl:tf:cno: option +while getopts :hdl:t:f:cno: option do case "$option" in h) show_usage;; d) PARAMS="$PARAMS --ez show-dates true";; l) PARAM_LIMIT=$OPTARG;; - n) PARAMS="$PARAMS --ez show-phone-numbers true";; - o) PARAM_OFFSET=$OPTARG;; t) PARAM_TYPE=$OPTARG;; - c) PARAMS="$PARAMS --ez conversation-list true";; f) PARAM_NUMBER="--es from $OPTARG";; + c) PARAMS="$PARAMS --ez conversation-list true";; + n) PARAMS="$PARAMS --ez show-phone-numbers true";; + o) PARAM_OFFSET=$OPTARG;; ?) echo "$SCRIPTNAME: illegal option -$OPTARG"; exit 1; esac done