aitjcize / cppman

C++ 98/11/14 manual pages for Linux/MacOS
GNU General Public License v3.0
1.27k stars 79 forks source link

Rebuild index database does not respect selected source #154

Open damb opened 1 year ago

damb commented 1 year ago

Hi,

cppman -h states that rebuilding the index database does respect the configured source i.e.

[...]
  -r, --rebuild-index   rebuild index database for the selected source, either
                        'cppreference.com' or 'cplusplus.com'.
[...]

In fact all sources are updated https://github.com/aitjcize/cppman/blob/2bb55e8cae4e633293bfbb2c92e136008d22c738/cppman/main.py#L135-L138

I'm not sure which is the behaviour actually desired (Though, I assume it is the behaviour documented in the help.). Please let me know. I happily provide a PR.