diff --git a/ratatoskr.sh b/ratatoskr.sh index 0eabc8b..5e40702 100755 --- a/ratatoskr.sh +++ b/ratatoskr.sh @@ -194,6 +194,7 @@ declare -A command=( [h]="Help, show usage information for ${0##*/}." [M]="Post the currently playing music track, requires playerctl." [p::]="Post from the command line, e.g. ${0##*/} -p \"hello world\" or echo \"Hello world\" | ${0}" + [t:]="Title of your post." [v:]="Post visibility, [direct | followers | public | unlisted], default is public." [S]="Scrobble the currently playing music track, requires playerctl." ) @@ -211,6 +212,9 @@ while [[ $# -gt 0 ]]; do -C) get_oauth_token shift;; + -t) + statusSpoiler_text="${2}" + shift 2;; -v) statusVisibility="${2}" shift 2;;