Skip to content

Commit ae77a04

Browse files
committed
termux-sms-list: fix -t argument and re-order command list
1 parent ff09377 commit ae77a04

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

scripts/termux-sms-list

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,17 +25,17 @@ show_usage () {
2525
exit 0
2626
}
2727

28-
while getopts :hdl:tf:cno: option
28+
while getopts :hdl:t:f:cno: option
2929
do
3030
case "$option" in
3131
h) show_usage;;
3232
d) PARAMS="$PARAMS --ez show-dates true";;
3333
l) PARAM_LIMIT=$OPTARG;;
34-
n) PARAMS="$PARAMS --ez show-phone-numbers true";;
35-
o) PARAM_OFFSET=$OPTARG;;
3634
t) PARAM_TYPE=$OPTARG;;
37-
c) PARAMS="$PARAMS --ez conversation-list true";;
3835
f) PARAM_NUMBER="--es from $OPTARG";;
36+
c) PARAMS="$PARAMS --ez conversation-list true";;
37+
n) PARAMS="$PARAMS --ez show-phone-numbers true";;
38+
o) PARAM_OFFSET=$OPTARG;;
3939
?) echo "$SCRIPTNAME: illegal option -$OPTARG"; exit 1;
4040
esac
4141
done

0 commit comments

Comments
 (0)