ssokolow: In my tests, The
help2man utility produces better results than what you posted.
sudo apt-get install help2man
help2man -N --version-string=2.11 -o lgogdownloader.1 lgogdownloader
man -l lgogdownloader.1
ssokolow: (The -N suppresses the generation of a "The full documentation for ls is maintained as a Texinfo manual" message and specifying the version string manually via --version-string prevents help2man from erroring out for lack of a --version option on lgogdownloader.)
The help2man homepage also includes guidelines on what adjustments to the --help format will get the most out of the tool.
you're right that's much nicer:) adding a little info from my earlier effort and voila!:
.TH LGOGDOWNLOADER "1" "February 2014" "lgogdownloader 2.11" "User Commands"
.SH NAME
lgogdownloader \- manual page for lgogdownloader 2.11
.SH DESCRIPTION
LGOGDownloader is a program for downloading games purchased from GOG.com. LGOGDownloader can also query GOG.com to see if game files have changed, it can download extras provided by GOG.com such as artwork and manuals. It is capable of downloading language specific installers for games where they exist. These games are currently for the Microsoft Windows(tm) and Apple(tm) systems only. To play these games under GNU/Linux will require wine or some similar program. Usage of such a program is outside the scope of this document.
.br
.SH
OPTIONS
.TP
\fB\-h\fR [ \fB\-\-help\fR ]
Print help message
.TP
\fB\-\-login\fR
Login
.TP
\fB\-\-list\fR
List games
.TP
\fB\-\-list\-details\fR
List games with detailed info
.TP
\fB\-\-download\fR
Download
.TP
\fB\-\-repair\fR
Repair downloaded files
Use \fB\-\-repair\fR \fB\-\-download\fR to redownload files when
filesizes don't match (possibly different version).
Redownload will delete the old file
.TP
\fB\-\-game\fR arg
Set regular expression filter
for download/list/repair (Perl syntax)
Aliases: "all", "free"
.TP
\fB\-\-directory\fR arg
Set download directory
.TP
\fB\-\-limit\-rate\fR arg (=0)
Limit download rate to value in kB
0 = unlimited
.TP
\fB\-\-create\-xml\fR arg
Create GOG XML for file
"automatic" to enable automatic XML creation
.TP
\fB\-\-xml\-directory\fR arg
Set directory for GOG XML files
.TP
\fB\-\-chunk\-size\fR arg (=10)
Chunk size (in MB) when creating XML
.TP
\fB\-\-update\-check\fR
Check for update notifications
.TP
\fB\-\-platform\fR arg (=1)
Select which installers are downloaded
1 = Windows
2 = Mac
3 = All
.TP
\fB\-\-language\fR arg (=1)
Select which language installers are downloaded
1 = English
2 = German
4 = French
8 = Polish
16 = Russian
32 = Chinese
64 = Czech
128 = Spanish
256 = Hungarian
512 = Italian
1024 = Japanese
2048 = Turkish
4096 = Portuguese
8192 = Korean
Add the values to download multiple languages
All = 16383
French + Polish = 4+8 = 12
.TP
\fB\-\-no\-installers\fR
Don't download/list/repair installers
.TP
\fB\-\-no\-extras\fR
Don't download/list/repair extras
.TP
\fB\-\-no\-patches\fR
Don't download/list/repair patches
.TP
\fB\-\-no\-language\-packs\fR
Don't download/list/repair language packs
.TP
\fB\-\-no\-cover\fR
Don't download cover images
.TP
\fB\-\-no\-remote\-xml\fR
Don't use remote XML for repair
.TP
\fB\-\-no\-unicode\fR
Don't use Unicode in the progress bar
.TP
\fB\-\-no\-color\fR
Don't use coloring in the progress bar
.TP
\fB\-\-no\-duplicate\-handling\fR
Don't use duplicate handler for installers
Duplicate installers from different languages are
handled separately
.TP
\fB\-\-verbose\fR
Print lots of information
.TP
\fB\-\-insecure\fR
Don't verify authenticity of SSL certificates
.TP
\fB\-\-timeout\fR arg (=10)
Set timeout for connection
Maximum time in seconds that connection phase is
allowed to take
.TP
\fB\-\-check\-orphans\fR arg
Check for orphaned files (files found on local
filesystem that are not found on GOG servers). Sets
regular expression filter (Perl syntax) for files to
check. If no argument is given then the regex
defaults to '.*\e.(zip|exe|bin|dmg|old)$'
.TP
\fB\-\-status\fR
Show status of files
.IP
Output format:
statuscode gamename filename filesize filehash
.IP
Status codes:
OK \- File is OK
ND \- File is not downloaded
MD5 \- MD5 mismatch, different version
.SH FILES
Configuration files and cookies are stored in "$XDG_CONFIG_HOME/lgogdownloader".
.br
If $XDG_CONFIG_HOME is not set it will use "$HOME/.config/lgogdownloader".
XML files are now stored in "$XDG_CACHE_HOME/lgogdownloader/xml".
.br
If $XDG_CACHE_HOME is not set it will use "$HOME/.cache/lgogdownloader/xml".
.SH AUTHOR
Sude
.SH WEBSITE
https://github.com/Sude-/lgogdownloader not sure the formatting survives the pasting here though!
diziet