X-Git-Url: https://git.distorted.org.uk/~mdw/termux-packages/blobdiff_plain/0ec2b70462bf2052dd2080460112c3a8fc87f62e..5915e2e2cc5748a38a25c2342ae613455d884393:/packages/termux-api/termux-clipboard-set diff --git a/packages/termux-api/termux-clipboard-set b/packages/termux-api/termux-clipboard-set index 8486179b..621674f4 100755 --- a/packages/termux-api/termux-clipboard-set +++ b/packages/termux-api/termux-clipboard-set @@ -3,12 +3,10 @@ set -e -u SCRIPTNAME=termux-clipboard-set show_usage () { - echo "Usage: $SCRIPTNAME " - echo "Set the system clipboard text." - echo "" - echo "If no arguments are given the text to set is read from stdin," - echo "otherwise all arguments given are used as the text to set." - exit 0 + echo "Usage: $SCRIPTNAME [text]" + echo "Set the system clipboard text. The text to set is either supplied as arguments or read from stdin if no arguments are given." + echo "" + exit 0 } while getopts :h option