Allow limiting history in commmand