lit icon indicating copy to clipboard operation
lit copied to clipboard

Echo available options for help

Open D-K-E opened this issue 5 years ago • 0 comments

I know the interface and the overall structure of the program is not complicated, however it would be really beneficial if lit.sh shows available options and some information about how to use them, when it is called without arguments something like:

$ ./lit.sh
--------------------------------------------------------------------------------
| lit.sh: a simple preprocessor for literate programming
| Example:  
| ./lit.sh dev/myfile.cpp.md -o src/
|
| List of Available options
| -H                     shows this screen
| -o --output            specifies the output directory
| ...
|
| For bugs and suggestions: github.com/vijithassar/lit
|  ...
-------------------------------------------------------------------------------

D-K-E avatar Aug 14 '20 18:08 D-K-E