Skip to content

Commit a882534

Browse files
add docs and no alarm-symbol in json
1 parent d8fbe9a commit a882534

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

doc/source/usage.rst

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,9 @@ Several options are common to almost all of :program:`khal`'s commands
115115
alarm-symbol
116116
An alarm symbol (alarm clock) if the event has at least one alarm.
117117

118+
alarms-list
119+
A comma-separated list of alarms for the event (e.g., `alarm1@-15m, getready@-1h`).
120+
118121
location
119122
The event location.
120123

@@ -222,7 +225,7 @@ Several options are common to almost all of :program:`khal`'s commands
222225
end-date-long, end-time, start-full, start-long-full,
223226
start-date-full, start-date-long-full, start-time-full,
224227
end-full, end-long-full, end-date-full, end-date-long-full,
225-
end-time-full, repeat-symbol, location, calendar,
228+
end-time-full, repeat-symbol, alarms-list, location, calendar,
226229
calendar-color, start-style, to-style, end-style,
227230
start-end-time-style, end-necessary, end-necessary-long,
228231
status, cancelled, organizer, url, duration, duration-full,

khal/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ def fmt(rows):
225225
'end-date-full', 'end-date-long-full', 'end-time-full', 'duration-full',
226226
'start-style', 'end-style', 'to-style', 'start-end-time-style',
227227
'end-necessary', 'end-necessary-long', 'repeat-symbol', 'repeat-pattern',
228-
'alarm-symbol', 'alarms-list',
228+
'alarms-list',
229229
'title', 'organizer', 'description', 'location', 'all-day', 'categories',
230230
'uid', 'url', 'calendar', 'calendar-color', 'status', 'cancelled']
231231

0 commit comments

Comments
 (0)