Commit Graph

19 Commits

Author SHA1 Message Date
Dirk-Jan C. Binnema 8d2a805672 config: remove help_enabled flag
We of course still have "mu help <command>" but don't suggest help
options that do not exist.

Fixes #1664.
2022-06-30 07:44:03 +03:00
Dirk-Jan C. Binnema b1ff292bbb mu: support MUHOME environment variable 2022-05-29 11:10:46 +03:00
Dirk-Jan C. Binnema 81689f0af3 contacts-cache: return most relevant contacts
Return in the contacts in *reverse* rank order, i.e. the most relevant come first.
This is useful since we only want the first maxnum contacts, and those should of
course be the most relevant.

Update mu cfind/server as well.

cfind
2022-05-09 22:25:28 +03:00
Dirk-Jan C. Binnema f9550f3cb6 mu: merge flags into fields command
One is enough
2022-05-06 22:17:53 +03:00
Dirk-Jan C. Binnema 8f9d1e5e60 mu: add fields/flags commands
Useful information for devising queries.

Directly generated from the source. Add manpages, too.
2022-05-05 01:38:25 +03:00
Dirk-Jan C. Binnema 8db299ea05 commands: Updated 'find' and 'index' to use Mu::Message 2022-04-30 10:40:45 +03:00
Dirk-Jan C. Binnema 66ee2004fc mu: extract Message::Options from command-line 2022-04-18 22:04:33 +03:00
Dirk-Jan C. Binnema 169921fd21 mu: improve help text generation 2022-02-17 23:49:17 +02:00
Dirk-Jan C. Binnema d2a75f600d tickle: remove
Remove the hidden 'tickle' command; it wasn't really advertised so I'm sure
nobody is using it (xkcd/1172).

Well, it'd need to be reworked anyway.
2022-02-17 23:48:59 +02:00
Dirk-Jan C. Binnema ea3083da2e mu: config: fix leak 2022-02-07 22:13:58 +02:00
Dirk-Jan C. Binnema e818e94d0e build: fix some scan-build warnings 2022-02-07 17:36:34 +02:00
Dirk-Jan C. Binnema 1c95d28cde config: fix --terminate help display
There is no parameter
2021-11-02 22:25:43 +02:00
Dirk-Jan C. Binnema 3dd721d5a3 clang-format: update c/cc coding style
Update all cc code using .clang-format; please do so as well for future PRs
etc.; emacs has a handy 'clang-format' mode to make this automatic.

For comparing old changes with git blame, we can disregard this one using
--ignore-rev

(see https://www.moxio.com/blog/43/ignoring-bulk-change-commits-with-git-blame )
2021-10-20 12:26:16 +03:00
Peter Hoeg 5f2e72776a fix wrong configuration key reference 2021-06-01 15:13:50 +08:00
Dirk-Jan C. Binnema af1734f60b mu-config: small cleanup
No need for (void) in c++ signatures
2021-02-15 18:40:54 +02:00
Dirk-Jan C. Binnema 5e359fb739 mu: support '-V' for --version
And describe it in the man-page, which erroneously had '-v' which is
used for --verbose.

Fixes: #1927
2021-02-13 13:33:12 +02:00
Dirk-Jan C. Binnema 01ced9a356 mu: Update for new querying APIs 2021-01-22 22:51:33 +02:00
Dirk-Jan C. Binnema 63a8c72b74 config: add message-size, batch-size option for init 2020-06-27 11:36:34 +03:00
Dirk-Jan C. Binnema a9fab4abcc mu: convert command-line tools to c++ 2020-06-13 16:56:41 +03:00