append-lines: add -h to print a short usage summary A -h option prints one line per option to stdout and exits, sharing the text with the error path (print_usage). The print_usage() function now takes a return code so that -h is not an error.