dusty-phillips / gitifyhg

Tools for using git as a client to mercurial repositories
GNU General Public License v3.0
62 stars 17 forks source link

Print out version / usage instruction when not used as remote helper #54

Closed fingolfin closed 11 years ago

fingolfin commented 11 years ago

It would be nice if git-remote-hg would detect when it is started stand-alone by a user (i.e. if stdin is connected to a terminal, not another process). In that situation, it could print out a brief info blurb. Containing its version, a mention of the GPL, a one-line usage example and a pointer where one can find out more.

Optionally resp. alternatively, a --version or --help switch could be supplied

PaulPrice commented 11 years ago

See #70.

dusty-phillips commented 11 years ago

Closing as PaulPrice's patch fixes this.