Skip to content

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

Open
GerHobbelt wants to merge 2 commits intomuellan:masterfrom
GerHobbelt:patch-2
Open

fix + API: when printing SYNOPSIS, make sure the application name is printed instead of its entire path (Windows)#63
GerHobbelt wants to merge 2 commits intomuellan:masterfrom
GerHobbelt:patch-2

Conversation

@GerHobbelt
Copy link
Copy Markdown

  • 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.

1 participant