Skip to content

Commit

Permalink
Added short form -u for option --utf
Browse files Browse the repository at this point in the history
  • Loading branch information
amdn committed May 28, 2019
1 parent d51f4af commit e5d3293
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/exitsnoop.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
exitsnoop # trace all process termination
exitsnoop -x # trace only fails, exclude exit(0)
exitsnoop -t # include timestamps (local time)
exitsnoop --utc # include timestamps (UTC)
exitsnoop -u # include timestamps (UTC)
exitsnoop -p 181 # only trace PID 181
exitsnoop --label=exit # label each output line with 'exit'
"""
Expand Down Expand Up @@ -58,7 +58,7 @@ def _getParser():
epilog=_examples)
a=parser.add_argument
a("-t", "--timestamp", action="store_true", help="include timestamp (local time default)")
a("--utc", action="store_true", help="include timestamp in UTC (-t implied)")
a("-u", "--utc", action="store_true", help="include timestamp in UTC (-t implied)")
a("-p", "--pid", help="trace this PID only")
a("--label", help="label each line")
a("-x", "--failed", action="store_true", help="trace only fails, exclude exit(0)")
Expand Down

0 comments on commit e5d3293

Please sign in to comment.