diff --git a/spec-cleaner b/spec-cleaner index 00c0d92..8de1d2b 100644 --- a/spec-cleaner +++ b/spec-cleaner @@ -957,7 +957,10 @@ class RpmSpecCleaner: def main(args): - parser = optparse.OptionParser(epilog='This script cleans spec file according to some arbitrary style guide. The results it produces should always be checked by someone since it is not and will never be perfect.') + parser = optparse.OptionParser( +usage='usage: %prog [options] $package.spec', +epilog='''This script cleans the given spec file according to some arbitrary style guide and prints the result. +The results it produces should always be checked by someone since it is not and will never be perfect.''') parser.add_option("-i", "--inline", action="store_true", dest="inline", default=False, help="edit the file inline") diff --git a/spec-cleaner.changes b/spec-cleaner.changes index 7c4435e..7794d0b 100644 --- a/spec-cleaner.changes +++ b/spec-cleaner.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Jul 14 10:28:13 UTC 2011 - giecrilj@stegny.2a.pl + +- better usage message + ------------------------------------------------------------------- Mon May 2 18:38:05 CEST 2011 - vuntz@opensuse.org