parent
aeff4f52d7
commit
1864078973
2 changed files with 8 additions and 1 deletions
|
|
@ -4475,6 +4475,7 @@ def anon_handle_list_history(goptions, session, args):
|
|||
parser.add_option("--group", help=_("Only show entries relating to a given group"))
|
||||
parser.add_option("--host", help=_("Only show entries related to given host"))
|
||||
parser.add_option("--channel", help=_("Only show entries related to given channel"))
|
||||
parser.add_option("--key", help=_("Only show entries related to given key"))
|
||||
parser.add_option("--before", type="time",
|
||||
help=_("Only show entries before this time, ") + TimeOption.get_help())
|
||||
parser.add_option("--after", type="time",
|
||||
|
|
@ -4501,7 +4502,7 @@ def anon_handle_list_history(goptions, session, args):
|
|||
limited = False
|
||||
for opt in ('package', 'tag', 'build', 'editor', 'user', 'permission',
|
||||
'cg', 'external_repo', 'build_target', 'group', 'before',
|
||||
'after', 'host', 'channel'):
|
||||
'after', 'host', 'channel', 'key'):
|
||||
val = getattr(options, opt)
|
||||
if val:
|
||||
kwargs[opt] = val
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue