Skip to content

gnupaste: Fix command line options handling

Tinu Weber requested to merge (removed):master into master

Correctly handle the getopts case for options that miss an argument, and fix incorrect handling of -g: The following invocation would previously have gnupaste continue with the "regular" case (i.e. pasting a file):

gnupaste -g ''

Also, minor cosmetic update in help message 😃

Merge request reports