Update usage message

… as I mislabeled the -m parameter as -l.
This commit is contained in:
Jaidyn Ann 2024-05-06 21:11:38 -05:00
parent 63e8608c9b
commit fc51fca9d7

View File

@ -350,7 +350,7 @@ handle_post_url() {
usage() {
echo "usage: $(basename "$0") [-h] [-IRc] POST_URL"
echo " $(basename "$0") [-h] [-IRc] [-bBt] USER_URL"
echo " $(basename "$0") [-h] [-IRcbBt] [-m MAX] USER_URL"
echo
echo "$(basename "$0") does exactly what it says on the tin: It formats"
echo 'a fediverse post (and its replies) into text. By default, into'
@ -359,11 +359,11 @@ usage() {
echo ' -c only print the responses (children) of a post'
echo ' -h print this message and exit'
echo ' -I display posts in reverse-chronological order'
echo ' -l output at maximum the specified amount of posts'
echo ' -R do not recursively display posts responses'
echo
echo ' -b exclude reblogs/repeats from user feed'
echo ' -B exclude top-level replies from user feed'
echo ' -m output at maximum the specified amount of posts'
echo ' -t filter posts from user feed by tag'
echo
echo 'It works with posts from any server that supports Mastodons API,'