- echo "usage: termux-share [options] [file]"
- echo "Share a file specified as argument or the stdin as text input."
- echo "Options:"
- echo " -a, --action which action to performed on the shared content: edit/send/view (default:view)"
- echo " -d, --default share to the default receiver if one is selected (instead of showing a chooser)"
- echo " -t, --title title to use for shared content (default: shared file name)"
- echo " -c, --content-type content-type to use (default: guessed from file extension, text/plain for stdin)"
+ echo "Usage: $SCRIPTNAME [-a action] [-c content-type] [-d] [-t title] [file]"
+ echo "Share a file specified as argument or the text received on stdin if no file argument is given."
+ echo " -a action which action to performed on the shared content:"
+ echo " edit/send/view (default:view)"
+ echo " -c content-type content-type to use (default: guessed from file extension,"
+ echo " text/plain for stdin)"
+ echo " -d share to the default receiver if one is selected"
+ echo " instead of showing a chooser"
+ echo " -t title title to use for shared content (default: shared file name)"
+ exit 0