summaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
Diffstat (limited to 'utils')
-rw-r--r--utils/lilv.bash_completion16
-rw-r--r--utils/lv2info.c4
2 files changed, 10 insertions, 10 deletions
diff --git a/utils/lilv.bash_completion b/utils/lilv.bash_completion
index 921087a..372982d 100644
--- a/utils/lilv.bash_completion
+++ b/utils/lilv.bash_completion
@@ -1,7 +1,8 @@
-# Bash auto-completion script written for lv2_inspect, lv2_jack_host
-# and lv2_simple_jack_host. Could be adapted to any other program
-# that takes an LV2 plugin URI as parameter.
+# Bash auto-completion script written for lv2info and lv2jack.
+# Could be adapted to any other program that takes an
+# LV2 plugin URI as parameter.
+# Updated for Lilv by David Robillard <d@drobilla.net> on 2011-05-21.
# Written by Lars Luthman <lars.luthman@gmail.com> on 2009-10-12.
# No copyright claimed for this script. Do what you want with it.
@@ -13,7 +14,7 @@
# It probably breaks in some special cases but for most common uses
# it should work fine.
-function _lv2_inspect() {
+function _lv2info() {
local uri cur opts w wn raw_reply len type
opts=`lv2_list | xargs -n1 echo -n " "`
@@ -52,8 +53,7 @@ function _lv2_inspect() {
done
}
-complete -F _lv2_inspect lv2_inspect
+complete -F _lv2info lv2info
-# And the same for lv2_jack_host and lv2_simple_jack_host.
-complete -F _lv2_inspect lv2_jack_host
-complete -F _lv2_inspect lv2_simple_jack_host
+# And the same for lv2jack.
+complete -F _lv2info lv2jack
diff --git a/utils/lv2info.c b/utils/lv2info.c
index f8745c3..e833a16 100644
--- a/utils/lv2info.c
+++ b/utils/lv2info.c
@@ -302,7 +302,7 @@ void
print_version(void)
{
printf(
- "lv2_inspect (lilv) " LILV_VERSION "\n"
+ "lv2info (lilv) " LILV_VERSION "\n"
"Copyright 2007-2011 David Robillard <http://drobilla.net>\n"
"License: <http://www.opensource.org/licenses/isc-license>\n"
"This is free software: you are free to change and redistribute it.\n"
@@ -312,7 +312,7 @@ print_version(void)
void
print_usage(void)
{
- printf("Usage: lv2_inspect PLUGIN_URI\n");
+ printf("Usage: lv2info PLUGIN_URI\n");
printf("Show information about an installed LV2 plugin.\n");
}