diff options
-rwxr-xr-x | update-blocker-wiki | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/update-blocker-wiki b/update-blocker-wiki index 3e18198..148cad6 100755 --- a/update-blocker-wiki +++ b/update-blocker-wiki @@ -46,7 +46,7 @@ def display_bugs_by_component(bugs_by_component, bugs_by_id): buf = '' components = sorted(bugs_by_component.keys()) for component in components: - buf += '=== %s ===\n' % component + buf += '\n=== %s ===\n' % component # sorted list bugs = sorted(bugs_by_component.get(component,[])) for b in bugs: @@ -56,7 +56,7 @@ def display_bugs_by_component(bugs_by_component, bugs_by_id): def parse_args(): '''Set up the option parser''' - parser = optparse.OptionParser(usage="%prog [options] <action> [options]") + parser = optparse.OptionParser(usage="%prog [options]") parser.add_option('-v', '--verbose', action='store_true', default=False, help='Enable verbosity') parser.add_option('--hotdog', action='store_true', default=False, @@ -174,8 +174,10 @@ if __name__ == '__main__': # Generate page content page_content = ''' -This page generated automatically using [http://fedorapeople.org/gitweb?p=jlaska/public_git/scripts.git %s]. -''' % (sys.argv[0],) + +''This page generated automatically using [http://fedorapeople.org/gitweb?p=jlaska/public_git/scripts.git %s].'' + +''' % (os.path.basename(sys.argv[0]),) # Start with the dog if opts.hotdog: |