dotfiles

configuration files for shell, text editor, graphical environment, etc.
git clone git://src.adamsgaard.dk/dotfiles
Log | Files | Refs | README | LICENSE Back to index

commit 9a0e379625bd4f1f00c582547236ffaf220184f9
parent a0c6489e3e3e06acb63e0b6797386e55998b3b96
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date:   Sun, 31 May 2020 17:06:03 +0200

Sort options in upload help text alphabetically

Diffstat:
M.local/bin/upload | 24++++++++++++------------
1 file changed, 12 insertions(+), 12 deletions(-)

diff --git a/.local/bin/upload b/.local/bin/upload @@ -20,23 +20,23 @@ show_help() { echo "The program prints the upload URL for each file to standard output" echo echo "OPTIONS are one or more of the following:" + echo " -b, --border if an image, add a 10% white border to FILES" + echo " -c, --clip send upload url to clipboard" + echo " -d, --delete delete previously uploaded FILES instead of uploading" + echo " --get and --delete can be used together" + echo " -g, --get get previously uploaded FILES instead of uploading" echo " -h, --help show this message" - echo " -V, --version show version and license information" - echo " -v, --verbose show verbose information (e.g. upload progress)" + echo " -l, --list [QUERY] list previously uploaded files with optional QUERY" + echo " search string as filter" echo " -n, --notify also show diagnostic output with notify-send" - echo " -c, --clip send upload url to clipboard" - echo " -- do not consider any following arguments as options" - echo " -b, --border if an image, add a 10% white border to FILES" + echo " -o, --gopher return gopher URI instead of http" + echo " -p, --public operate on public file directory (/${pubdir})" echo " -r, --resize if an image, resize FILES to fit 800x800 pixels" echo " without changing its width-to-height ratio" echo " -s, --sharpen if an image, sharpen all FILES" - echo " -p, --public operate on public file directory (/${pubdir})" - echo " -o, --gopher return gopher URI instead of http" - echo " -g, --get get previously uploaded FILES instead of uploading" - echo " -l, --list [QUERY] list previously uploaded files with optional QUERY" - echo " search string as filter" - echo " -d, --delete delete previously uploaded FILES instead of uploading" - echo " --get and --delete can be used together" + echo " -v, --verbose show verbose information (e.g. upload progress)" + echo " -V, --version show version and license information" + echo " -- do not consider any following arguments as options" echo "the optional operations are performed in the order listed above." echo "${0##*/} requires imagemagick and rsync to be installed on the system." }