parser.add_argument('--start', type=str, default='commit', help='now or commit')
parser.add_argument('--prefix', action='store_true')
parser.add_argument('--suffix', action='store_true')
-parser.add_argument('-v', '--verbose', action='store_true')
+parser.add_argument('-q', '--quiet', action='store_true')
args = parser.parse_args()
if args.start == 'commit':
# will give new commit hashes as the commit date (not author date) will
# be different.
direction = - direction
- if args.verbose:
+ if not args.quiet:
print(
'%5d - %s - [%s:%02d]'
% (
if b'acab' in p.stdout:
break
-if args.verbose:
+if not args.quiet:
print('\ngot %s' % p.stdout.decode().strip())