Skip to content
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

man page out of date #136

Open
vassudanagunta opened this issue Dec 22, 2024 · 2 comments
Open

man page out of date #136

vassudanagunta opened this issue Dec 22, 2024 · 2 comments

Comments

@vassudanagunta
Copy link

vassudanagunta commented Dec 22, 2024

For example, the -F option added by #91 doesn't appear with man git-absorb. I came here about to suggest this option but discovered it already exists, just not in the man page. It is appear in git-absorb --help

I could create a PR for this one gap, and look in the code for other gaps, but isn't a better solution that the man page is generated from the same source as the --help contents? I'm not a Rust dev, so I don't know if there's a tool for that.

@blairconrad
Copy link
Contributor

@vassudanagunta, we see different things!

λ  git-absorb.exe --help
Usage: git-absorb.exe [OPTIONS]

Options:
  -b, --base <BASE>                        Use this commit as the base of the absorb stack
  -n, --dry-run                            Don't make any actual changes
  -f, --force                              Skip safety checks
  -v, --verbose                            Display more output
  -r, --and-rebase                         Run rebase if successful
      --gen-completions <GEN_COMPLETIONS>  Generate completions [possible values: bash, fish, nushell, zsh, powershell, elvish]
  -w, --whole-file                         Match the change against the complete file
  -F, --one-fixup-per-commit               Only generate one fixup per commit
  -h, --help                               Print help
  
λ  git-absorb.exe --version
git-absorb 0.6.16

@vassudanagunta vassudanagunta changed the title man/help page out of date man page out of date Dec 22, 2024
@vassudanagunta
Copy link
Author

@blairconrad My bad. I'm multitasking and misremembered what I did. The issue is with the man page, not --help. Updated this issue accordingly.

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

No branches or pull requests

2 participants