diff --git a/README.md b/README.md index 8f0e99a..012cc00 100644 --- a/README.md +++ b/README.md @@ -5,4 +5,17 @@ A JSON-Getter written in D for bayernfahrplan --------------------------------------------- bayernfahrplan is a tool wich lets you fetch departure tables from -bayernfahrplan.de and output them as JSON. \ No newline at end of file +bayernfahrplan.de and output them as JSON. + +Usage +----- + +``` +Usage: ./learncrypt [options] + + Options: +-f --file The file that the data is written to. +-s --stop The bus stop for which to fetch data. +-r --replacement-file The file that contais the direction name replacement info. +-h --help This help information. +``` \ No newline at end of file diff --git a/source/app.d b/source/app.d index db49108..0c638f7 100644 --- a/source/app.d +++ b/source/app.d @@ -25,7 +25,7 @@ void main(string[] args) if (helpInformation.helpWanted) { - defaultGetoptPrinter("Some information about the program.", helpInformation.options); + defaultGetoptPrinter("Usage: ./learncrypt [options]\n\n Options:", helpInformation.options); return; }