[yaml2obj] Add new command line option `-docnum`.