-def pp_dep (deps):
- pp_deps = [];
- for atom in deps:
- (pkg, version, constraint) = atom;
- if constraint:
- pp_dep = "%s (%s %s)" % (pkg, constraint, version);
- else:
- pp_dep = pkg;
- pp_deps.append(pp_dep);
- return string.join(pp_deps, " |");
+def usage (exit_code=0):
+ print """Usage: jeri [OPTION] <CHANGES FILE | DEB FILE | ADMIN FILE>[...]
+(Very) Basic dependency checking for proposed-updates.
+
+ -q, --quiet be quieter about what is being done
+ -v, --verbose be more verbose about what is being done
+ -h, --help show this help and exit
+
+Need either changes files, deb files or an admin.txt file with a '.joey' suffix."""
+ sys.exit(exit_code)