hedgedoc / cli

A tiny CLI for HedgeDoc
GNU Affero General Public License v3.0
150 stars 37 forks source link

Fix so the script will print the usage on no arguments given. See #42 for parant issue #43

Closed Lawri-van-Buel closed 3 years ago

Lawri-van-Buel commented 3 years ago

This small addition will make the script check the number of arguments given, and if none are given set the argument to help so the usage will be printed. if the import is used as documented in the file in my test it did not trigger this code.

see: https://github.com/hedgedoc/cli/issues/42