Skip to content

gnupaste: Fix command line options handling

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

Loading