Help message still refers to gist on systems with renamed binary
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).
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 ).
Great idea! Pull requests are welcome :)
Fair enough, but unfortunately my Ruby skills round down to zero.