updated README and improved help message

This commit is contained in:
Johannes Loher 2017-05-14 11:50:22 +02:00
parent 94053e443a
commit e112fbe7ec
2 changed files with 15 additions and 2 deletions

View file

@ -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.
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.
```

View file

@ -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;
}