The source project of this merge request has been removed.
gnupaste: Miscellaneous small fixes
- Fix various minor mistakes in the
getopts
loop:- Add missing
$
in front ofE_SUCCESS
; - Suppress error message by
getopts
and usedie()
again; - Distinguish between wrong (
?
) and unhandled (*
) arguments (addE_INTERNAL
for that).
- Add missing
- Remove "long options mandatory arguments" blabla.
- Fix indentation (some lines were using spaces)—if desired, we could also use spaces everywhere. Just don't mix spaces and tabs for indentation
😏 . - Use simple quotes whereever possible.