diff options
Diffstat (limited to 'src/command')
-rw-r--r-- | src/command/command.c | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/src/command/command.c b/src/command/command.c index 3fa467d4..4086278c 100644 --- a/src/command/command.c +++ b/src/command/command.c @@ -688,13 +688,18 @@ static struct cmd_t command_defs[] = cmd_time, parse_args, 1, 3, &cons_time_setting, { "/time main|statusbar set|off [format]", "Time display.", { "/time main|statusbar set|off [format]", - "---------------------------------", + "-------------------------------------", "Configure time display preferences.", "", - "main set <format> : Change strftime format to <format> in main window.", + "main set <format> : Change time format to <format> in main window.", "main off : Do not show time in main window.", - "statusbar set <format> : Change strftime format to <format> in statusbar.", + "statusbar set <format> : Change time format to <format> in statusbar.", "statusbar off : Do not show time in status bar.", + "", + "Time formats are strings supported by g_date_time_format.", + "See https://developer.gnome.org/glib/stable/glib-GDateTime.html#g-date-time-format for more details.", + "Example: /time main set %H:%M (main time will be set to HH:MM)", + "Example: /time statusbar set yolo (statusbar time will all be changed to a static yolo)", NULL } } }, { "/inpblock", |