From: Jason Ish Date: Mon, 4 Dec 2017 13:10:15 +0000 (-0600) Subject: list-sources: show replaces info X-Git-Tag: 1.0.0a1~16 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=68ea974c955ec58a504ba1fc78b938cc92683df9;p=thirdparty%2Fsuricata-update.git list-sources: show replaces info --- diff --git a/suricata/update/commands/listsources.py b/suricata/update/commands/listsources.py index 4a99761..0ab4a71 100644 --- a/suricata/update/commands/listsources.py +++ b/suricata/update/commands/listsources.py @@ -45,3 +45,7 @@ def list_sources(config): print(" %s: %s" % ( util.bright_cyan("Tags"), util.bright_magenta(", ".join(source["tags"])))) + if "replaces" in source: + print(" %s: %s" % ( + util.bright_cyan("Replaces"), + util.bright_magenta(", ".join(source["replaces"]))))