From 7e67f8889f581e46daad032b64ef51077a6f1648 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Jastrz=C4=99bski?= Date: Fri, 23 Oct 2020 08:35:03 +0200 Subject: [PATCH] Small tweaks --- CB/__init__.py | 2 +- CurseBreaker.py | 11 +++++++---- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/CB/__init__.py b/CB/__init__.py index 45ee983..7324973 100644 --- a/CB/__init__.py +++ b/CB/__init__.py @@ -2,7 +2,7 @@ import random from rich.terminal_theme import TerminalTheme -__version__ = '3.13.0' +__version__ = '3.14.0' __license__ = 'GPLv3' __copyright__ = '2019-2020, Paweł Jastrzębski ' __docformat__ = 'restructuredtext en' diff --git a/CurseBreaker.py b/CurseBreaker.py index 2d1e4f1..c17c9b8 100644 --- a/CurseBreaker.py +++ b/CurseBreaker.py @@ -365,7 +365,7 @@ def parse_link(self, text, link, dev=None, authors=None, uiversion=None): authors = '' if uiversion and uiversion not in [self.core.masterConfig['RetailVersion'], self.core.masterConfig['ClassicVersion']]: - uiversion = ' [bold yellow][!][bold yellow]' + uiversion = ' [bold yellow][!][/bold yellow]' else: uiversion = '' if link: @@ -548,6 +548,7 @@ def c_status(self, args): if '-a' in pargs: optcompact = True args = args.replace('-a', '', 1) + args = args.strip() self.c_update(args, False, False, False, optsource, optcompact) def c_orphans(self, _): @@ -815,9 +816,11 @@ def c_help(self, _): 'urrent state.\n\tIf no argument is provided all addons will be forcefully updated.\n' '[green]wago_update[/green]\n\tCommand detects all installed WeakAuras and Plater profiles/s' 'cripts.\n\tAnd then generate WeakAuras Companion payload.\n' - '[green]status[/green]\n\tPrints the current state of all installed addons.\n\t[bold white]F' - 'lags:[/bold white]\n\t\t[bold white]-a[/bold white] - Temporary reverse the table compactin' - 'g option.\n\t\t[bold white]-s[/bold white] - Display the source of the addons.\n' + '[green]status[/green]\n\tPrints the current state of all installed addons.\n\t[bold yellow]' + '[!][/bold yellow] mark means that the latest release is not updated yet for the current WoW' + ' version.\n\t[bold white]Flags:[/bold white]\n\t\t[bold white]-a[/bold white] - Temporary r' + 'everse the table compacting option.\n\t\t[bold white]-s[/bold white] - Display the source o' + 'f the addons.\n' '[green]orphans[/green]\n\tPrints list of orphaned directories and files.\n' '[green]search [Keyword][/green]\n\tExecutes addon search on CurseForge.\n' '[green]recommendations[/green]\n\tCheck the list of currently installed addons against a co'