[x264-devel] cli: Bash autocomplete support

Henrik Gramner git at videolan.org
Tue Mar 12 19:32:02 CET 2019


x264 | branch: master | Henrik Gramner <henrik at gramner.com> | Sun Jul  1 20:34:48 2018 +0200| [74c051f2c4945cf2a279e36051537a2a1897c120] | committer: Anton Mitrofanov

cli: Bash autocomplete support

Allows for automatic command line completion for both options and values.

Options such as --input-csp and --input-fmt will dynamically retrieve
supported values from libavformat when compiled with lavf support.

Execute 'source tools/bash-autocomplete.sh' in bash to enable.

> http://git.videolan.org/gitweb.cgi/x264.git/?a=commit;h=74c051f2c4945cf2a279e36051537a2a1897c120
---

 Makefile                   |   4 +-
 autocomplete.c             | 404 +++++++++++++++++++++++++++++++++++++++++++++
 tools/bash-autocomplete.sh |  15 ++
 x264.c                     | 142 ++++++++--------
 x264cli.h                  |  12 ++
 5 files changed, 506 insertions(+), 71 deletions(-)

Diff:   http://git.videolan.org/gitweb.cgi/x264.git/?a=commitdiff;h=74c051f2c4945cf2a279e36051537a2a1897c120


More information about the x264-devel mailing list