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
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/checks(.:format) |
| route-controller | pull_requests |
| route-action | checks |
| fetch-nonce | v2:01d8e2cc-108c-d5fd-371b-3b2ead77b236 |
| current-catalog-service-hash | 87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a |
| request-id | C936:1CEB13:392A76:4CB607:6971B4D8 |
| html-safe-nonce | a054fc74a680ff9c854e37fc08086b9bb56fb7e2ff1fc006bcf8d0a2152206ad |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDOTM2OjFDRUIxMzozOTJBNzY6NENCNjA3OjY5NzFCNEQ4IiwidmlzaXRvcl9pZCI6IjkxOTAzNTM5ODY2NTEyMzAzMiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 3cee8ca503fcb64f7ccdb698e9dd62ef015bd740b0e2c729bacfe5912e82eb65 |
| hovercard-subject-tag | pull_request:2703390589 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,checks,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/QuantStack/git2cpp/pull/27/checks |
| twitter:image | https://avatars.githubusercontent.com/u/580326?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/580326?s=400&v=4 |
| og:image:alt | 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... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | c3b677fea7de290a6c0d1c9ccd6c9909b6a527cf8ee079649e09dc78092d24f1 |
| turbo-cache-control | no-preview |
| go-import | github.com/QuantStack/git2cpp git https://github.com/QuantStack/git2cpp.git |
| octolytics-dimension-user_id | 19627246 |
| octolytics-dimension-user_login | QuantStack |
| octolytics-dimension-repository_id | 988433538 |
| octolytics-dimension-repository_nwo | QuantStack/git2cpp |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 988433538 |
| octolytics-dimension-repository_network_root_nwo | QuantStack/git2cpp |
| turbo-body-classes | logged-out env-production page-responsive full-width full-width-p-0 |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 29d7fcca69cafb91ec8a596aaf222fd46e9bc934 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width