mvertes / txt2man

txt2man converts text to man page
GNU General Public License v2.0
57 stars 9 forks source link

Two small fixes #10

Closed Vogtinator closed 8 years ago

Vogtinator commented 8 years ago

Do not overwrite manually specified release with autoprobe:

> txt2man -p tmp
.\" Text automatically generated by txt2man
.TH test 1 "16 Juni 2016" "txt2man" "Linux Reference Manual"

# Old behaviour
> txt2man -r "release" -p tmp
.\" Text automatically generated by txt2man
.TH test 1 "16 Juni 2016" "txt2man" "Linux Reference Manual"

# New behaviour
> ./txt2man -r "release" -p tmp
.\" Text automatically generated by txt2man
.TH test 1 "16 Juni 2016" "release" "Linux Reference Manual"

and also format the date in a locale-independant way, like with a manually specified one.

mvertes commented 8 years ago

Thanks for your contribution!