[FFmpeg-devel] [PATCH] Prefer "loglevel" over "logging level number or string" for loglevel.argname

Stefano Sabatini stefano.sabatini-lala
Sun Sep 27 01:42:36 CEST 2009


Hi, that's almost a bikeshed but I believe this is both more
esthetically pleasant and more clear:

-h                  show help
-version            show version
-L                  show license
-formats            show available formats, codecs, protocols, ...
-loglevel loglevel  set libav* logging level
-n                  enable no-launch mode
-d                  enable debug mode
-f configfile       use configfile instead of /etc/ffserver.conf

rather than:

-h                  show help
-version            show version
-L                  show license
-formats            show available formats, codecs, protocols, ...
-loglevel logging level number or string set libav* logging level
-n                  enable no-launch mode
-d                  enable debug mode
-f configfile       use configfile instead of /etc/ffserver.conf

loglevel meaning is explained in the man page, and to make it
eye-parsable it should be rendered as a single token, alternatively we
could use:
logging_level_number_or_string
logging_level
number_or_string

though my preference is for the simpler "loglevel".

Regards.
-- 
FFmpeg = Faithless & Frenzy Minimal Philosofic Extreme Guru
-------------- next part --------------
A non-text attachment was scrubbed...
Name: simple-loglevel-argname.patch
Type: text/x-diff
Size: 2824 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090927/c6110c1e/attachment.patch>



More information about the ffmpeg-devel mailing list