Added the ability to give a post a title.
This commit is contained in:
		| @@ -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;; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user