hedgedoc / cli

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

the command fails with an Error if no argument is given, it would be better ty trigger the help function in that case instead of giving an error. #42

Closed Lawri-van-Buel closed 3 years ago

Lawri-van-Buel commented 3 years ago

curremtly the CLI reports an error like this:

./hedgedoc: line 369: $1: unbound variable

I propose to fix this so it iwll instead give the much more helpful response of the usage help otion.