options_parser.add_argument('--width',type=int,metavar='tiles_count',default=20,action='store',help='number of tiles in the tilemap width')
options_parser.add_argument('--filler',type=lambdax:int(x,0),metavar='filler',default=None,action='store',help='filler byte used as the tilemap background')
options_parser.add_argument('--no-file-terminator',dest='has_file_terminator',default=True,action='store_false',help='operate on a partial tilemap without a file terminator (e.g. some menus)')
decoding_parser=operations_subparser.add_parser('decode',parents=[options_parser],help='convert a tilemap encoded with the ZLADX format to a raw tilemap')
decoding_parser.add_argument('infile',type=str,help='encoded tilemap file to decode')
decoding_parser.add_argument('--wrap','-w',type=int,metavar='char_count',default=40,action='store',help='wrap the stdout output to a number of characters (40 by default; 0 to disable)')
encoding_parser.add_argument('--location',type=lambdax:int(x,0),metavar="VRAM_address",default=0x9800,action='store',help='start address of the tilemap in VRAM')