cli: merge 'fields' with 'info' command

Update the 'info' command to handle 'fields' as well; remove
fields.
This commit is contained in:
Dirk-Jan C. Binnema
2023-07-03 18:44:13 +03:00
parent 5e184a581f
commit 9004363aa5
11 changed files with 227 additions and 206 deletions

View File

@ -36,7 +36,6 @@
/* command-line options for Mu */
namespace Mu {
struct Options {
using OptSize = Option<std::size_t>;
using SizeVec = std::vector<std::size_t>;
using OptTStamp = Option<std::time_t>;
@ -177,6 +176,9 @@ struct Options {
/*
* Info
*/
struct Info {
std::string topic; /**< what to get info about? */
} info;
/*
* Init