Kurtis Rader b53f42970c correct handling of history args
This fixes several problems with how the builtin `history` command handles
arguments. It now complains and refuses to do anything if the user specifies
incompatible actions (e.g., `--search` and `--clear`). It also fixes a
regression introduced by previous changes with regard to invocations that
don't explicitly specify `--search` or a search term.

Enhances the history man page to clarify the behavior of various options.

This change is already far larger than I like so unit tests will be added
in a separate commit.

Fixes #3224.

Note: This fixes only a couple problems with the interactive `history
--delete` command in the `history` function. The main problem will be
dealt with via issue #31.
2016-07-20 21:18:48 -07:00
..
2016-05-23 19:59:02 +02:00
2016-01-14 16:58:29 +01:00
2016-06-30 20:49:56 -07:00
2016-05-14 20:38:32 -07:00
2014-09-21 21:03:44 -07:00
2014-09-21 21:03:44 -07:00
2014-12-23 15:46:47 -08:00
2016-07-06 21:37:29 -07:00
2016-06-08 21:15:07 -07:00
2013-03-03 00:45:34 +05:30
2016-05-17 14:52:55 -07:00
2016-05-31 23:24:08 +02:00
2016-05-31 23:24:08 +02:00
2005-09-20 23:31:55 +10:00
2005-09-20 23:31:55 +10:00
2010-09-18 10:18:26 +08:00
2005-09-20 23:31:55 +10:00
2005-09-20 23:31:55 +10:00
2005-09-20 23:31:55 +10:00
2014-07-13 19:11:29 -07:00
2012-07-08 09:19:11 +08:00
2016-07-06 21:37:29 -07:00
2015-11-14 13:15:30 +01:00
2016-07-06 21:37:29 -07:00