Added support for saving the stdin arguments in the history file along with the keywords.