jbirnick / polybar-timer

A simple & customizable timer for your bar.
MIT License
62 stars 6 forks source link

Usage function for command line #8

Closed golgorath closed 7 months ago

golgorath commented 7 months ago

This pull request adds a 'help' or usage function to the script. The help function can be invoked using 'help', '-h', or '--help' as arguments for the script.

The help function provides a brief description and synopsis, followed by a more in-depth explanation of the available commands. To enhance readability and ease of editing, the cat command is used to format the output.

Additionally, if no argument is provided when executing the script, it now informs the user to use the help function. This improvement aims to guide users to access helpful information, complementing the existing manual reference.

Please review and merge as appropriate.