sh: Update example to show parsing of flags
commit06f24c932726992c4bea7e3c5b3276a86e63780f
authorEric Blake <eblake@redhat.com>
Thu, 5 Sep 2019 03:07:49 +0000 (4 22:07 -0500)
committerEric Blake <eblake@redhat.com>
Thu, 5 Sep 2019 03:12:20 +0000 (4 22:12 -0500)
treed35f18a7d8f8ab1157b220d79a4bd9c6ee37dd12
parent9548470ad1090892f3484cdaacac4dc0db6df2a4
sh: Update example to show parsing of flags

Tweak the example zero) code to pay attention to when the flags
argument ($5) contains 'may_trim' as a substring.

Signed-off-by: Eric Blake <eblake@redhat.com>
plugins/sh/example.sh