diff options
author | W. Trevor King <wking@drexel.edu> | 2010-01-03 11:31:04 -0500 |
---|---|---|
committer | W. Trevor King <wking@drexel.edu> | 2010-01-03 11:31:04 -0500 |
commit | 6e44945c94e7de6222bbeae668265ff0969c7fe2 (patch) | |
tree | 10cce4c744b6e44e6128c64598fe5e56516578c4 /libbe/command/list.py | |
parent | 97eabcc3657bdc6511baebd79b059ae1589c7e87 (diff) | |
parent | d06f64279f2891df7bd0a85633c05610be525d50 (diff) | |
download | bugseverywhere-6e44945c94e7de6222bbeae668265ff0969c7fe2.tar.gz |
Merged be.roadmap, adding dev issues #bea/ed5#, #bea/814#, and #bea/343#.
Also changed `be list --uuids` to `be list --ids`
Diffstat (limited to 'libbe/command/list.py')
-rw-r--r-- | libbe/command/list.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libbe/command/list.py b/libbe/command/list.py index 8b5cb4e..8baeaa2 100644 --- a/libbe/command/list.py +++ b/libbe/command/list.py @@ -108,14 +108,14 @@ class List (libbe.command.Command): arg=libbe.command.Argument( name='sort', metavar='SORT', default=None, completion_callback=libbe.command.util.Completer(AVAILABLE_CMPS))), - libbe.command.Option(name='uuids', short_name='u', - help='Only print the bug UUIDS'), + libbe.command.Option(name='ids', short_name='i', + help='Only print the bug IDS'), libbe.command.Option(name='xml', short_name='x', help='Dump output in XML format'), ]) # parser.add_option("-S", "--sort", metavar="SORT-BY", dest="sort_by", # help="Adjust bug-sort criteria with comma-separated list SORT-BY. e.g. \"--sort creator,time\". Available criteria: %s" % ','.join(AVAILABLE_CMPS), default=None) -# # boolean options. All but uuids and xml are special cases of long forms +# # boolean options. All but ids and xml are special cases of long forms # ("w", "wishlist", "List bugs with 'wishlist' severity"), # ("i", "important", "List bugs with >= 'serious' severity"), # ("A", "active", "List all active bugs"), @@ -151,9 +151,9 @@ class List (libbe.command.Command): bugs = self._sort_bugs(bugs, cmp_list) # print list of bugs - if params['uuids'] == True: + if params['ids'] == True: for bug in bugs: - print >> self.stdout, bug.uuid + print >> self.stdout, bug.id.user() else: self._list_bugs(bugs, xml=params['xml']) bugdir.storage.writeable = writeable |