[Bugfix] Set pass_cmdline_object=1 to be able to empty undo history on --empty