René's URL Explorer Experiment


Title: Fix printing of help and version info - attempt 2 by ianthomas23 · Pull Request #30 · QuantStack/git2cpp · GitHub

Open Graph Title: Fix printing of help and version info - attempt 2 by ianthomas23 · Pull Request #30 · QuantStack/git2cpp

X Title: Fix printing of help and version info - attempt 2 by ianthomas23 · Pull Request #30 · QuantStack/git2cpp

Description: My fix in #27 wasn't correct. Using !version to check if the version flag is specified is not correct as version is a pointer. It could be !(*version) instead but I am not prepared to use that, or the better version->count(). However it is better to just use an else of the previous if (version->count()) so this is what I have done.

Open Graph Description: My fix in #27 wasn't correct. Using !version to check if the version flag is specified is not correct as version is a pointer. It could be !(*version) instead but I am not prepared to use that,...

X Description: My fix in #27 wasn't correct. Using !version to check if the version flag is specified is not correct as version is a pointer. It could be !(*version) instead but I am not prepared to use t...

Opengraph URL: https://github.com/QuantStack/git2cpp/pull/30

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:7a24775f-61e5-143a-e69f-8f73c17dedac
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idADD8:2F4F50:1C35015:26F7E03:6971F87A
html-safe-nonce6092a4f9bb65b3248cf8bc62ee625c1925b1f55079a09f5fa69130dfd1d37709
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBREQ4OjJGNEY1MDoxQzM1MDE1OjI2RjdFMDM6Njk3MUY4N0EiLCJ2aXNpdG9yX2lkIjoiNjMxNjk0MDE2NDQ1MDA4OTA4MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac0fde733cceefd59898b1bf0aa0b3611d177bb64f980a65bbd140fdb58480344c
hovercard-subject-tagpull_request:2709631105
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/QuantStack/git2cpp/pull/30/files
twitter:imagehttps://avatars.githubusercontent.com/u/580326?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/580326?s=400&v=4
og:image:altMy fix in #27 wasn't correct. Using !version to check if the version flag is specified is not correct as version is a pointer. It could be !(*version) instead but I am not prepared to use that,...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None3d9da1aa47d387dfb2aca0f2e5c19150dc936b8128a6b2ecd6a02fc26a378fff
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/QuantStack/git2cpp git https://github.com/QuantStack/git2cpp.git
octolytics-dimension-user_id19627246
octolytics-dimension-user_loginQuantStack
octolytics-dimension-repository_id988433538
octolytics-dimension-repository_nwoQuantStack/git2cpp
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id988433538
octolytics-dimension-repository_network_root_nwoQuantStack/git2cpp
turbo-body-classeslogged-out env-production page-responsive
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release4332d3e3368b9bce3dfd3c4a2643112933072734
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/QuantStack/git2cpp/pull/30/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FQuantStack%2Fgit2cpp%2Fpull%2F30%2Ffiles
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FQuantStack%2Fgit2cpp%2Fpull%2F30%2Ffiles
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=QuantStack%2Fgit2cpp
Reloadhttps://github.com/QuantStack/git2cpp/pull/30/files
Reloadhttps://github.com/QuantStack/git2cpp/pull/30/files
Reloadhttps://github.com/QuantStack/git2cpp/pull/30/files
QuantStack https://github.com/QuantStack
git2cpphttps://github.com/QuantStack/git2cpp
Notifications https://github.com/login?return_to=%2FQuantStack%2Fgit2cpp
Fork 5 https://github.com/login?return_to=%2FQuantStack%2Fgit2cpp
Star 2 https://github.com/login?return_to=%2FQuantStack%2Fgit2cpp
Code https://github.com/QuantStack/git2cpp
Issues 12 https://github.com/QuantStack/git2cpp/issues
Pull requests 1 https://github.com/QuantStack/git2cpp/pulls
Actions https://github.com/QuantStack/git2cpp/actions
Projects 0 https://github.com/QuantStack/git2cpp/projects
Security Uh oh! There was an error while loading. Please reload this page. https://github.com/QuantStack/git2cpp/security
Please reload this pagehttps://github.com/QuantStack/git2cpp/pull/30/files
Insights https://github.com/QuantStack/git2cpp/pulse
Code https://github.com/QuantStack/git2cpp
Issues https://github.com/QuantStack/git2cpp/issues
Pull requests https://github.com/QuantStack/git2cpp/pulls
Actions https://github.com/QuantStack/git2cpp/actions
Projects https://github.com/QuantStack/git2cpp/projects
Security https://github.com/QuantStack/git2cpp/security
Insights https://github.com/QuantStack/git2cpp/pulse
Sign up for GitHub https://github.com/signup?return_to=%2FQuantStack%2Fgit2cpp%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2FQuantStack%2Fgit2cpp%2Fissues%2Fnew%2Fchoose
ianthomas23https://github.com/ianthomas23
mainhttps://github.com/QuantStack/git2cpp/tree/main
fix-help-attempt-2https://github.com/QuantStack/git2cpp/tree/fix-help-attempt-2
Conversation 1 https://github.com/QuantStack/git2cpp/pull/30
Commits 1 https://github.com/QuantStack/git2cpp/pull/30/commits
Checks 1 https://github.com/QuantStack/git2cpp/pull/30/checks
Files changed https://github.com/QuantStack/git2cpp/pull/30/files
Please reload this pagehttps://github.com/QuantStack/git2cpp/pull/30/files
Fix printing of help and version info - attempt 2 https://github.com/QuantStack/git2cpp/pull/30/files#top
Show all changes 1 commit https://github.com/QuantStack/git2cpp/pull/30/files
1b031a6 Fix printing of help and version info - attempt 2 ianthomas23 Jul 31, 2025 https://github.com/QuantStack/git2cpp/pull/30/commits/1b031a6500d793a357a00928eb13244a554f1ded
Clear filters https://github.com/QuantStack/git2cpp/pull/30/files
Please reload this pagehttps://github.com/QuantStack/git2cpp/pull/30/files
Please reload this pagehttps://github.com/QuantStack/git2cpp/pull/30/files
src/main.cpphttps://github.com/QuantStack/git2cpp/pull/30/files#diff-34d21af3c614ea3cee120df276c9c4ae95053830d7f1d3deaf009a4625409ad2
View file https://github.com/QuantStack/git2cpp/blob/1b031a6500d793a357a00928eb13244a554f1ded/src/main.cpp
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/QuantStack/git2cpp/pull/30/{{ revealButtonHref }}
https://github.com/QuantStack/git2cpp/pull/30/files#diff-34d21af3c614ea3cee120df276c9c4ae95053830d7f1d3deaf009a4625409ad2
https://github.com/QuantStack/git2cpp/pull/30/files#diff-34d21af3c614ea3cee120df276c9c4ae95053830d7f1d3deaf009a4625409ad2
Please reload this pagehttps://github.com/QuantStack/git2cpp/pull/30/files
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.