From b7e69decca0ffc6bc89b2d145ab7c6f852b2e8db Mon Sep 17 00:00:00 2001 From: Martin Vidner Date: Mon, 28 Jun 2021 16:50:21 +0200 Subject: [PATCH] Make the usage message more helpful --- checknewer.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/checknewer.py b/checknewer.py index f7bd6e94..0ba7bd4a 100755 --- a/checknewer.py +++ b/checknewer.py @@ -11,7 +11,11 @@ import solv pool = solv.Pool() args = sys.argv[1:] if len(args) < 2: - print("usage: checknewer NEWREPO OLDREPO1 [OLDREPO2...]") + print("Check if all packages in a repo are newer than all other repos") + print() + print("Usage: checknewer NEWREPO OLDREPO1 [OLDREPO2...]") + print() + print("A repo is one of: foo.solv, primary.xml, packages (susetags)") sys.exit(1) firstrepo = None