Skip to content

-h and --help arguments make terminal display the script content #4

@datalot-369

Description

@datalot-369

Steps to reproduce

  1. Execute ink2pdf --help

What happened?

The whole script is being shown in the terminal

image

What should have happened?

It should print the usage section only, like when putting a wrong argument.

image

System Specs

- MX Linux 19.3 amd64
- XFCE 4.14
- GNU bash, version 5.0.3(1)-release (x86_64-pc-linux-gnu)
- Perl v5.28.1 "with 65 registered patches"

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions