Eclectic Media Git klaus / 1ed87e3
Disallow --htdigest without --smarthttp to avoid misuse Jonas Haag 5 years ago
1 changed file(s) with 5 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
5151 def main():
5252 args = make_parser().parse_args()
5353
54 if args.htdigest and not args.smarthttp:
55 print >> sys.stderr, "--htdigest option has no effect without --smarthttp enabled"
56 return 1
57
5458 if not args.repos:
5559 print >> sys.stderr, "WARNING: No repositories supplied -- syntax is 'klaus dir1 dir2...'."
5660
8488
8589
8690 if __name__ == '__main__':
87 main()
91 exit(main())