I couldn't find an example online but I'm sure I've seen shell coders use ${1:--} to accept user input. Here's an example:
#!/bin/bash
var="${1:--}"
echo "$var"
Then, run it:
$ ./test.sh "this is a test"
My question is: how is using "${1:--}" to accept user input different from "$1"?