René's URL Explorer Experiment


Title: Print version without help information by ianthomas23 · Pull Request #27 · QuantStack/git2cpp · GitHub

Open Graph Title: Print version without help information by ianthomas23 · Pull Request #27 · QuantStack/git2cpp

X Title: Print version without help information by ianthomas23 · Pull Request #27 · QuantStack/git2cpp

Description: This fixes the printing of version information. Before this PR it also prints the help information: $ ./git2cpp -v git2cpp version 0.0.2 (libgit2 1.9.1) Git using C++ wrapper of libgit2 ./git2cpp [OPTIONS] [SUBCOMMAND] OPTIONS: -h, --help Print this help message and exit -v, --version Show version SUBCOMMANDS: init Explanation of init here status Show modified files in working directory, staged for your next commit add Add file contents to the index branch List, create or delete branches checkout Switch branches or restore working tree files clone Clone a directory into a new repository After this fix just the version information is printed: $ ./git2cpp -v git2cpp version 0.0.2 (libgit2 1.9.1) Fixes #26.

Open Graph Description: This fixes the printing of version information. Before this PR it also prints the help information: $ ./git2cpp -v git2cpp version 0.0.2 (libgit2 1.9.1) Git using C++ wrapper of libgit2 ./git2cp...

X Description: This fixes the printing of version information. Before this PR it also prints the help information: $ ./git2cpp -v git2cpp version 0.0.2 (libgit2 1.9.1) Git using C++ wrapper of libgit2 ./git2cp...

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

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:b5c25695-b114-4ff0-c5c5-84cbee85400b
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idC13C:1B1778:1A3FD8:236618:6971AF76
html-safe-nonce3cf8cb7b2bbf1980aa836ab7d81c57fc6effb9950e4676781349146bd19ac8ec
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMTNDOjFCMTc3ODoxQTNGRDg6MjM2NjE4OjY5NzFBRjc2IiwidmlzaXRvcl9pZCI6Ijg2OTY2NjE0MzQ0MDMyMzc3NTAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmaca098e40435c0f5b0d3fecdc86bbbab78bbd14e1dd6c162f6e8623f0d8f6cd293
hovercard-subject-tagpull_request:2703390589
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/27/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:altThis fixes the printing of version information. Before this PR it also prints the help information: $ ./git2cpp -v git2cpp version 0.0.2 (libgit2 1.9.1) Git using C++ wrapper of libgit2 ./git2cp...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None2b0f2f00499ad3dd2c21ad030a3c403edca54df20ea256f6517c6d8c4fa3a1a4
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 full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release979375c570cc30aefe2a734083debe402a612209
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/QuantStack/git2cpp/pull/27/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FQuantStack%2Fgit2cpp%2Fpull%2F27%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%2F27%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/27/files
Reloadhttps://github.com/QuantStack/git2cpp/pull/27/files
Reloadhttps://github.com/QuantStack/git2cpp/pull/27/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/27/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
JohanMabillehttps://github.com/JohanMabille
mainhttps://github.com/QuantStack/git2cpp/tree/main
version-printhttps://github.com/QuantStack/git2cpp/tree/version-print
Conversation 1 https://github.com/QuantStack/git2cpp/pull/27
Commits 1 https://github.com/QuantStack/git2cpp/pull/27/commits
Checks 1 https://github.com/QuantStack/git2cpp/pull/27/checks
Files changed https://github.com/QuantStack/git2cpp/pull/27/files
Please reload this pagehttps://github.com/QuantStack/git2cpp/pull/27/files
Print version without help information https://github.com/QuantStack/git2cpp/pull/27/files#top
Show all changes 1 commit https://github.com/QuantStack/git2cpp/pull/27/files
2a167d7 Print version without help information ianthomas23 Jul 29, 2025 https://github.com/QuantStack/git2cpp/pull/27/commits/2a167d7c4578b8a9016e82f55428732605f4695b
Clear filters https://github.com/QuantStack/git2cpp/pull/27/files
Please reload this pagehttps://github.com/QuantStack/git2cpp/pull/27/files
Please reload this pagehttps://github.com/QuantStack/git2cpp/pull/27/files
main.cpp https://github.com/QuantStack/git2cpp/pull/27/files#diff-34d21af3c614ea3cee120df276c9c4ae95053830d7f1d3deaf009a4625409ad2
test_git.py https://github.com/QuantStack/git2cpp/pull/27/files#diff-84c4b72d5c62026240fad69041a453efc37f7336a89035b69672cce0e8beaca1
src/main.cpphttps://github.com/QuantStack/git2cpp/pull/27/files#diff-34d21af3c614ea3cee120df276c9c4ae95053830d7f1d3deaf009a4625409ad2
View file https://github.com/QuantStack/git2cpp/blob/2a167d7c4578b8a9016e82f55428732605f4695b/src/main.cpp
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/QuantStack/git2cpp/pull/27/{{ revealButtonHref }}
https://github.com/QuantStack/git2cpp/pull/27/files#diff-34d21af3c614ea3cee120df276c9c4ae95053830d7f1d3deaf009a4625409ad2
https://github.com/QuantStack/git2cpp/pull/27/files#diff-34d21af3c614ea3cee120df276c9c4ae95053830d7f1d3deaf009a4625409ad2
test/test_git.pyhttps://github.com/QuantStack/git2cpp/pull/27/files#diff-84c4b72d5c62026240fad69041a453efc37f7336a89035b69672cce0e8beaca1
View file https://github.com/QuantStack/git2cpp/blob/2a167d7c4578b8a9016e82f55428732605f4695b/test/test_git.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/QuantStack/git2cpp/pull/27/{{ revealButtonHref }}
https://github.com/QuantStack/git2cpp/pull/27/files#diff-84c4b72d5c62026240fad69041a453efc37f7336a89035b69672cce0e8beaca1
https://github.com/QuantStack/git2cpp/pull/27/files#diff-84c4b72d5c62026240fad69041a453efc37f7336a89035b69672cce0e8beaca1
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.