aboutsummaryrefslogtreecommitdiffstats
path: root/ffprobe.c
diff options
context:
space:
mode:
authorClément Bœsch <ubitux@gmail.com>2012-05-29 18:50:13 +0200
committerClément Bœsch <ubitux@gmail.com>2012-05-29 18:50:20 +0200
commitdae8505492748d619753b1949123a7ca3680cc3d (patch)
tree8e052d161c78e135f4deb6f4ab26022648c51fa5 /ffprobe.c
parentad381ac97fadaab681075ef9331e917683805233 (diff)
downloadffmpeg-dae8505492748d619753b1949123a7ca3680cc3d.tar.gz
ffprobe: make -of an alias for -print_format.
This is for interoperability purpose with the fork.
Diffstat (limited to 'ffprobe.c')
-rw-r--r--ffprobe.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ffprobe.c b/ffprobe.c
index afc088320d..d86ff0bae0 100644
--- a/ffprobe.c
+++ b/ffprobe.c
@@ -1904,6 +1904,7 @@ static const OptionDef options[] = {
"prettify the format of displayed values, make it more human readable" },
{ "print_format", OPT_STRING | HAS_ARG, {(void*)&print_format},
"set the output printing format (available formats are: default, compact, csv, ini, json, xml)", "format" },
+ { "of", OPT_STRING | HAS_ARG, {(void*)&print_format}, "alias for -print_format", "format" },
{ "show_error", OPT_BOOL, {(void*)&do_show_error} , "show probing error" },
{ "show_format", OPT_BOOL, {(void*)&do_show_format} , "show format/container info" },
{ "show_frames", OPT_BOOL, {(void*)&do_show_frames} , "show frames info" },