Make the usage message more helpful

This commit is contained in:
Martin Vidner 2021-06-28 16:50:21 +02:00
parent aec38aadce
commit b7e69decca

View File

@ -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