Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix + API: when printing SYNOPSIS, make sure the application name is printed instead of its entire path (Windows) #63

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

GerHobbelt
Copy link

  • added man_page::program_basename(path) API
  • made this part of the man_page::program_name(path) APIs
  • ensure the SYNOPSIS output on Windows boxes lists the program name instead of its entire path

(cherrypicked off https://github.com/GerHobbelt/clipp master branch; original commit tested with latest MSVC2019)

- made this part of the man_page::program_name(path) APIs
- correct previous patch to ensure the SYNOPSIS output on Windows boxes lists the program **name** instead of its entire **path**
@GerHobbelt GerHobbelt changed the title fix + API: when printing SYNOPSIS, make sure the application **name** is printed instead of its entire path (Windows) fix + API: when printing SYNOPSIS, make sure the application name is printed instead of its entire path (Windows) Jun 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant