Mercurial > lcfOS
diff python/hexutil.py @ 290:7b38782ed496
File moves
author | Windel Bouwman |
---|---|
date | Sun, 24 Nov 2013 11:24:15 +0100 |
parents | f254b87258e6 |
children | 917eab04b8b7 |
line wrap: on
line diff
--- a/python/hexutil.py Thu Nov 21 15:46:50 2013 +0100 +++ b/python/hexutil.py Sun Nov 24 11:24:15 2013 +0100 @@ -28,6 +28,7 @@ p.add_argument('hexfile2', type=argparse.FileType('r'), help="hexfile 2") p.add_argument('rhexfile', type=argparse.FileType('w'), help="resulting hexfile") + def main(args): if args.command == 'info': hf = HexFile() @@ -56,4 +57,3 @@ parser.print_usage() sys.exit(1) main(args) -