Skip to content

Commit

Permalink
docs: Update meta time example (#2187)
Browse files Browse the repository at this point in the history
As unix-time is always utc, the 'utc' the example 'time:unix:utc:usec' isn't useful.
  • Loading branch information
HolgerAusB authored Sep 24, 2022
1 parent 73f5a84 commit e066b66
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions conf/rtl_433.example.conf
Original file line number Diff line number Diff line change
Expand Up @@ -130,14 +130,14 @@ analyze_pulses false
# [-M time[:<options>]|protocol|level|noise[:<secs>]|stats|bits] Add various metadata to every output line.
# Use "time" to add current date and time meta data (preset for live inputs).
# Use "time:rel" to add sample position meta data (preset for read-file and stdin).
# Use "time:unix" to show the seconds since unix epoch as time meta data.
# Use "time:unix" to show the seconds since unix epoch as time meta data. This is always UTC.
# Use "time:iso" to show the time with ISO-8601 format (YYYY-MM-DD"T"hh:mm:ss).
# Use "time:off" to remove time meta data.
# Use "time:usec" to add microseconds to date time meta data.
# Use "time:tz" to output time with timezone offset.
# Use "time:utc" to output time in UTC.
# (this may also be accomplished by invocation with TZ environment variable set).
# "usec" and "utc" can be combined with other options, eg. "time:unix:utc:usec".
# "usec" and "utc" can be combined with other options, eg. "time:iso:utc" or "time:unix:usec".
# Use "protocol" / "noprotocol" to output the decoder protocol number meta data.
# Use "level" to add Modulation, Frequency, RSSI, SNR, and Noise meta data.
# Use "noise[:secs]" to report estimated noise level at intervals (default: 10 seconds).
Expand Down
4 changes: 2 additions & 2 deletions src/rtl_433.c
Original file line number Diff line number Diff line change
Expand Up @@ -299,14 +299,14 @@ static void help_meta(void)
" [-M time[:<options>]|protocol|level|noise[:<secs>]|stats|bits] Add various metadata to every output line.\n"
"\tUse \"time\" to add current date and time meta data (preset for live inputs).\n"
"\tUse \"time:rel\" to add sample position meta data (preset for read-file and stdin).\n"
"\tUse \"time:unix\" to show the seconds since unix epoch as time meta data.\n"
"\tUse \"time:unix\" to show the seconds since unix epoch as time meta data. This is always UTC.\n"
"\tUse \"time:iso\" to show the time with ISO-8601 format (YYYY-MM-DD\"T\"hh:mm:ss).\n"
"\tUse \"time:off\" to remove time meta data.\n"
"\tUse \"time:usec\" to add microseconds to date time meta data.\n"
"\tUse \"time:tz\" to output time with timezone offset.\n"
"\tUse \"time:utc\" to output time in UTC.\n"
"\t\t(this may also be accomplished by invocation with TZ environment variable set).\n"
"\t\t\"usec\" and \"utc\" can be combined with other options, eg. \"time:unix:utc:usec\".\n"
"\t\t\"usec\" and \"utc\" can be combined with other options, eg. \"time:iso:utc\" or \"time:unix:usec\".\n"
"\tUse \"replay[:N]\" to replay file inputs at (N-times) realtime.\n"
"\tUse \"protocol\" / \"noprotocol\" to output the decoder protocol number meta data.\n"
"\tUse \"level\" to add Modulation, Frequency, RSSI, SNR, and Noise meta data.\n"
Expand Down

0 comments on commit e066b66

Please sign in to comment.