examples: interactive.lua: add a shebang and update running instructions

This commit is contained in:
George Kiagiadakis 2021-02-18 14:53:33 +02:00
parent e2d6e5b992
commit e6112d7579

9
tests/examples/interactive.lua Normal file → Executable file
View file

@ -1,3 +1,5 @@
#!/usr/bin/wireplumber -e
--
-- WirePlumber
--
-- Copyright © 2021 Collabora Ltd.
@ -8,10 +10,9 @@
-- This is an example of an interactive script
--
-- Execute with:
-- wireplumber -e /path/to/interactive.lua option1=value1 option2=value2 ...
--
-- Using an absolute path to the script is necessary, otherwise
-- wireplumber will try to locate the script in $WIREPLUMBER_DATA_DIR/scripts
-- wireplumber -e ./interactive.lua option1=value1 option2=value2 ...
-- or:
-- ./interactive.lua option1=value1 option2=value2
-----------------------------------------------------------------------------
--