Skip to content

Fixed help information #22

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

Merged
merged 1 commit into from
Jul 23, 2025
Merged

Fixed help information #22

merged 1 commit into from
Jul 23, 2025

Conversation

JohanMabille
Copy link
Member

Fixes #8

Copy link
Member

@ianthomas23 ianthomas23 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me:

$ ./build/git2cpp -h
Git using C++ wrapper of libgit2 


./build/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 
$ ./build/git2cpp status -h
Show modified files in working directory, staged for your next commit 


./build/git2cpp status [OPTIONS]


OPTIONS:
  -h,     --help              Print this help message and exit 
  -s,     --short             Give the output in the short-format. 
          --long              Give the output in the long-format. This is the default. 
  -b,     --branch            Show the branch and tracking info even in short-format. 

@ianthomas23 ianthomas23 merged commit e43841f into QuantStack:main Jul 23, 2025
1 check passed
@JohanMabille JohanMabille deleted the help branch July 23, 2025 08:01
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.

Help information
2 participants