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
..
2015-09-23 13:28:32 +02:00
2016-04-23 12:26:57 -07:00
2014-09-03 15:10:53 +01:00
2014-09-07 17:35:19 +01:00
2016-06-23 18:23:10 +02:00
2014-09-03 14:43:27 +01:00
2015-08-17 20:27:13 +08:00
2015-09-11 11:33:04 +02:00
2016-04-23 12:26:57 -07:00
2015-03-18 16:22:29 -04:00
2014-09-29 13:39:35 -07:00
2016-07-16 20:22:41 -07:00
2016-06-26 11:36:31 +02:00
2016-04-26 15:21:15 +02:00
2016-05-17 14:52:55 -07:00
2015-02-06 07:48:47 +01:00
2016-07-16 20:22:41 -07:00
2014-09-03 14:43:27 +01:00
2016-07-20 21:18:48 -07:00
2016-07-16 20:22:41 -07:00
2014-09-03 14:43:27 +01:00
2015-07-23 14:26:38 +08:00
2016-07-16 20:22:41 -07:00
2016-07-16 20:22:41 -07:00
2015-11-14 13:15:30 +01:00
2015-09-11 11:33:04 +02:00
2014-09-03 14:43:25 +01:00
2014-09-21 21:10:07 -07:00
2014-09-03 14:43:27 +01:00
2014-09-03 14:43:27 +01:00
2016-07-16 20:22:41 -07:00
2014-09-03 14:43:27 +01:00
2014-09-29 13:39:35 -07:00
2016-07-16 20:22:41 -07:00
2016-07-16 20:22:41 -07:00
2014-09-03 14:43:27 +01:00
2016-04-04 15:23:56 -07:00
2014-09-03 14:43:24 +01:00
2014-09-03 14:43:24 +01:00