gist icon indicating copy to clipboard operation
gist copied to clipboard

Help message still refers to gist on systems with renamed binary

Open travisdowns opened this issue 4 years ago • 2 comments

On Ubuntu the binary is renamed gist-paste as you are no doubt aware. Perhaps the error messages, e.g., this login one:

$ gist-paste foo.txt 
Please log in with `gist --login`. (Github now requires credentials to gist https://bit.ly/2GBBxKw)

... could use the name of the invoked binary (gist-paste) here, to avoid confusing the user (e.g., using argv[0] or however the name is available in your implementation language).

travisdowns avatar Feb 23 '21 05:02 travisdowns

Great idea! Pull requests are welcome :)

On Mon, Feb 22, 2021 at 9:13 PM, Travis Downs < [email protected] > wrote:

On Ubuntu the binary is renamed gist-paste as you are no doubt aware. Perhaps the error messages, e.g., this login one:

$ gist-paste foo.txt Please log in with gist --login. (Github now requires credentials to gist https:/ / bit. ly/ 2GBBxKw ( https://bit.ly/2GBBxKw ) )

... could use the name of the invoked binary (gist-paste) here, to avoid confusing the user (e.g., using argv[0] or however the name is available in your implementation language).

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub ( https://github.com/defunkt/gist/issues/328 ) , or unsubscribe ( https://github.com/notifications/unsubscribe-auth/AAAXAQAJ7II2QE2PM65VKADTAM2OBANCNFSM4YBZV7CQ ).

ConradIrwin avatar Feb 24 '21 18:02 ConradIrwin

Great idea! Pull requests are welcome :)

Fair enough, but unfortunately my Ruby skills round down to zero.

travisdowns avatar Feb 28 '21 09:02 travisdowns