Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions src/manage/commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -516,7 +516,7 @@ def show_welcome(self, copyright=True):
except OSError:
LOGGER.debug("Failed to update %s", last_update_file, exc_info=True)
return
LOGGER.print(WELCOME)
LOGGER.info(WELCOME)

def dump_arguments(self):
try:
Expand Down Expand Up @@ -716,7 +716,10 @@ class ListCommand(BaseCommand):

def execute(self):
from .list_command import execute
self.show_welcome()
# gh-203: Don't show welcome message for "-1" to minimise the risk of it
# mixing with parsed output.
if not self.one:
self.show_welcome()
if self.default_source:
LOGGER.debug("Loading 'install' command to get source")
inst_cmd = COMMANDS["install"](["install"], self.root)
Expand Down