X-Git-Url: https://git.distorted.org.uk/~mdw/termux-packages/blobdiff_plain/0ec2b70462bf2052dd2080460112c3a8fc87f62e..bfd9e967f9f8d5a0b54571fc10fb6202813b8ee5:/packages/termux-api/termux-clipboard-set diff --git a/packages/termux-api/termux-clipboard-set b/packages/termux-api/termux-clipboard-set index 8486179b..c2a3a845 100755 --- a/packages/termux-api/termux-clipboard-set +++ b/packages/termux-api/termux-clipboard-set @@ -3,12 +3,9 @@ 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." + exit 0 } while getopts :h option