mirror of
https://github.com/profanity-im/profanity.git
synced 2024-11-03 19:37:16 -05:00
add examples and be more specific about time formatting
This commit is contained in:
parent
83bed119e4
commit
837f8b1f10
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user