diff --git a/src/handlers/handle_input.py b/src/handlers/handle_input.py index cf2ee8e..8a418de 100644 --- a/src/handlers/handle_input.py +++ b/src/handlers/handle_input.py @@ -68,7 +68,6 @@ def handleInput(inputCommand, inputSelectedObject, inputParams): if inputCommand == 'exit': sys.exit() if inputCommand == 'help': - print(inputParams) if inputSelectedObject == 'command' or inputSelectedObject == 'commands': getCommandHelp(inputParams) else: diff --git a/src/plugin/plugin_updatechecker.py b/src/plugin/plugin_updatechecker.py index 87a60fa..8804592 100644 --- a/src/plugin/plugin_updatechecker.py +++ b/src/plugin/plugin_updatechecker.py @@ -132,7 +132,7 @@ def checkInstalledPackage(inputSelectedObject="all"): if inputSelectedObject != "*" and inputSelectedObject != "all": if inputSelectedObject == pluginIdStr or re.search(inputSelectedObject, fileName, re.IGNORECASE): if pluginLatestVersion == 'N/A': - print(oColors.darkBlack + f" [{1}]".ljust(8), end='') + print(oColors.brightBlack + f" [{1}]".ljust(8), end='') else: print(f" [{1}]".ljust(8), end='') print(f"{fileName}".ljust(33), end='') @@ -142,7 +142,7 @@ def checkInstalledPackage(inputSelectedObject="all"): break else: if pluginLatestVersion == 'N/A': - print(oColors.darkBlack + f" [{i+1}]".ljust(8), end='') + print(oColors.brightBlack + f" [{i+1}]".ljust(8), end='') else: print(f" [{i+1}]".ljust(8), end='') print(f"{fileName}".ljust(33), end='') diff --git a/src/utils/utilities.py b/src/utils/utilities.py index fdaa6b7..a1a4ce8 100644 --- a/src/utils/utilities.py +++ b/src/utils/utilities.py @@ -12,7 +12,7 @@ from handlers.handle_sftp import createSFTPConnection def getHelp(): print(oColors.brightYellow+ "Need help?" + oColors.standardWhite) - print("For a list of all the commands: 'help command'") + print("For a list of all commands: 'help command'") print("Or check the docs here:") print("https://github.com/Neocky/pluGET") print("Or go to the official discord.") @@ -22,6 +22,7 @@ def getHelp(): def getCommandHelp(optionalParams): if optionalParams == None: optionalParams = 'all' + print(oColors.brightBlack + f"Help for command: {optionalParams}" +oColors.standardWhite) print("┌────────────────┬─────────────────┬─────────────────┬────────────────────────────────────────────────────────┐") print("│ Command │ Selected Object │ Optional Params │ Function │") print("└────────────────┴─────────────────┴─────────────────┴────────────────────────────────────────────────────────┘") @@ -40,7 +41,7 @@ def getCommandHelp(optionalParams): print(oColors.brightBlack + " SERVER SOFTWARE MANAGEMENT:" + oColors.standardWhite) print(" check serverjar Check installed server software for an update") print(" update serverjar Version/Latest Update installed server software to a specific version") - print(" get-paper PaperVersion McVersion Downloads specific PaperMc version") + print(" get-paper PaperVersion McVersion Downloads a specific PaperMc version") break if optionalParams == 'exit': @@ -85,7 +86,7 @@ def getCommandHelp(optionalParams): if optionalParams == 'get-paper': print(oColors.brightBlack + " SERVER SOFTWARE MANAGEMENT:" + oColors.standardWhite) - print(" get-paper PaperVersion McVersion Downloads specific PaperMc version") + print(" get-paper PaperVersion McVersion Downloads a specific PaperMc version") break else: