summaryrefslogtreecommitdiffstats
path: root/DOCS/man/en
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-09-15 19:07:35 +0200
committerwm4 <wm4@nowhere>2013-09-15 19:07:35 +0200
commit9aa206a90efcb6c2f21e460a6c5fcfdcc3b9f841 (patch)
treef9df02bec97ac18d8068f15320ef1fee0a8ba4d7 /DOCS/man/en
parent884c179177063ad81cf7a7242c01767f46cd1cf8 (diff)
downloadmpv-9aa206a90efcb6c2f21e460a6c5fcfdcc3b9f841.tar.bz2
mpv-9aa206a90efcb6c2f21e460a6c5fcfdcc3b9f841.tar.xz
screenshot: change %w format to be more like %t
Instead of containing a format string within %w{...}, simply allow %w to specify one item of a time format string. This is simpler, more like other format specifiers (%t), and probably easier to use too.
Diffstat (limited to 'DOCS/man/en')
-rw-r--r--DOCS/man/en/options.rst27
1 files changed, 13 insertions, 14 deletions
diff --git a/DOCS/man/en/options.rst b/DOCS/man/en/options.rst
index 8ed9ba8066..1c07403ea7 100644
--- a/DOCS/man/en/options.rst
+++ b/DOCS/man/en/options.rst
@@ -1880,27 +1880,26 @@
numbers would be more intuitive, but are not easily implementable
because container formats usually use time stamps for identifying
frames.)
- ``%w{X}``
- Specify the current playback time using the format string ``X``. The
- nested time format string is contained within ``{`` and ``}``.
- ``%p`` is like ``%w{%H:%M:%S}``, and ``%P`` is like ``%w{%H:%M:%S.%T}``.
+ ``%wX``
+ Specify the current playback time using the format string ``X``.
+ ``%p`` is like ``%wH:%wM:%wS``, and ``%P`` is like ``%wH:%wM:%wS.%wT``.
Valid format specifiers:
- ``%H``
+ ``%wH``
hour (padded with 0 to two digits)
- ``%h``
+ ``%wh``
hour (not padded)
- ``%M``
+ ``%wM``
minutes (00-59)
- ``%m``
- total minutes (includes hours, unlike ``%M``)
- ``%S``
+ ``%wm``
+ total minutes (includes hours, unlike ``%wM``)
+ ``%wS``
seconds (00-59)
- ``%s``
+ ``%ws``
total seconds (includes hours and minutes)
- ``%f``
- like ``%s``, but as float
- ``%T``
+ ``%wf``
+ like ``%ws``, but as float
+ ``%wT``
milliseconds (000-999)
``%tX``