Skip to content

Commit

Permalink
termux-sms-list: fix -t argument and re-order command list
Browse files Browse the repository at this point in the history
  • Loading branch information
Grimler91 committed Apr 26, 2021
1 parent ff09377 commit ae77a04
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions scripts/termux-sms-list
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ae77a04

Please sign in to comment.