This addresses issue #66. The -o flag was not working for the doc sub-command because the -o flag was being looked for in the arguments to the program, not the arguments to the doc sub-command. This was a one line fix. Additionally, this PR fixes the error where a function with no arguments was documented like so: fn function_name) -> result_type.
This addresses issue #66. The
-o
flag was not working for the doc sub-command because the-o
flag was being looked for in the arguments to the program, not the arguments to thedoc
sub-command. This was a one line fix. Additionally, this PR fixes the error where a function with no arguments was documented like so:fn function_name) -> result_type
.