diff options
| author | Joel Klinghed <the_jk@spawned.biz> | 2026-02-13 10:51:04 +0100 |
|---|---|---|
| committer | Joel Klinghed <the_jk@spawned.biz> | 2026-02-13 10:51:04 +0100 |
| commit | 77ffb138f0b171c769bc80680ca8c67ae5606e26 (patch) | |
| tree | cd36aa472618927f31069a5b7d82a89d66cf201d | |
| parent | ab98c4b054b08fb255b601ce19810dff709fc4ce (diff) | |
Give examples of START format.
| -rw-r--r-- | src/event_main.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/event_main.cc b/src/event_main.cc index ffcf4b5..304db14 100644 --- a/src/event_main.cc +++ b/src/event_main.cc @@ -80,7 +80,9 @@ bool create(EventUtils* utils, std::map<std::string, std::string>& data, std::vector<std::string>& args) { if (args.size() < 2) { - Http::response(200, "Usage: create NAME START [TEXT]"); + Http::response(200, "Usage: create NAME START [TEXT]\n" + "> START can be either in YYYY-MM-DD HH:MM format " + "or DAY HH:MM format (for example Wednesday 17:30).\n"); return true; } std::string name, text; |
