Code Monkey home page Code Monkey logo

Comments (5)

rhysd avatar rhysd commented on May 13, 2024 1

I added git-brws.1 at dc957bf and added note in 'Installation' section in README. Thank you for reporting this.

from git-brws.

rhysd avatar rhysd commented on May 13, 2024

Actually this behavior is intended, but I agree that it is not so expected.

When running

git subcmd --help

the --help is not handled by git-subcmd, but by git itself. git searches a man manual for git-subcmd. git-subcmd cannot override this behavior.

git-brws --help

would work fine.

The perfect (and only I guess) fix is providing a man manual (git-brws.1) but I'm not familiar with the format and I don't want to bother users by requiring to install the man manual.

from git-brws.

wtsnjp avatar wtsnjp commented on May 13, 2024

the --help is not handled by git-subcmd, but by git itself.

In this case I can see that it is difficult to solve this issue inside git-brws.

The perfect (and only I guess) fix is providing a man manual (git-brws.1) but I'm not familiar with the format and I don't want to bother users by requiring to install the man manual.

I can understand your concern and I also think creating a man entry for this project is somehow overkilling. (By the way, JFYR, it is not necessary to know about the format (roff) to write a man page because there are useful converters, e.g., ronn.)

Anyway, I personally don't have any trouble with this issue since I know git brws -h is workable. If this behavior is intentional as you said, I have nothing to add... I wish I had a better idea to solve 😢

from git-brws.

rhysd avatar rhysd commented on May 13, 2024

I can understand your concern and I also think creating a man entry for this project is somehow overkilling. (By the way, JFYR, it is not necessary to know about the format (roff) to write a man page because there are useful converters, e.g., ronn.)

I did not know ronn. Thank you for letting me know. I think I should try.

Anyway, I personally don't have any trouble with this issue since I know git brws -h is workable. If this behavior is intentional as you said, I have nothing to add... I wish I had a better idea to solve 😢

Yeah... what we can do which I was able to come up with is removing --help from flags.

from git-brws.

rhysd avatar rhysd commented on May 13, 2024

Note: I setup Homebrew formula which put git-brws.1 properly. When installing git-brws via Homebrew, git brws --help should work.

https://github.com/rhysd/git-brws#installation

from git-brws.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.