add notice as to why pasting to GitHub is disabled
This commit is contained in:
parent
e17e9c8ce9
commit
343695e23e
|
@ -174,7 +174,15 @@ public class VersionCommand extends MultiverseCommand {
|
|||
if (CommandHandler.hasFlag("-b", args)) {
|
||||
// private post to pastebin
|
||||
pasteUrl = postToService(PasteServiceType.PASTEBIN, true, data, files);
|
||||
} else if (CommandHandler.hasFlag("-h", args)) {
|
||||
}
|
||||
|
||||
// pasting to GitHub now requires an account, so we've disabled it
|
||||
/* else if (CommandHandler.hasFlag("-g", args)) {
|
||||
// private post to github
|
||||
pasteUrl = postToService(PasteServiceType.GITHUB, true, data, files);
|
||||
} */
|
||||
|
||||
else if (CommandHandler.hasFlag("-h", args)) {
|
||||
// private post to hastebin
|
||||
pasteUrl = postToService(PasteServiceType.HASTEBIN, true, data, files);
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue