command line argumets parsing logic was refactored
--amend flag was supported