From 111b1a4cb83dbd0c1812bca412e43f6f326d6580 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 16 May 2011 01:20:15 +0000 Subject: Fix references to old utility names git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3266 a436a847-0d15-0410-975c-d299462d15a1 --- utils/lilv.bash_completion | 16 ++++++++-------- utils/lv2info.c | 4 ++-- 2 files changed, 10 insertions(+), 10 deletions(-) (limited to 'utils') 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 on 2011-05-21. # Written by Lars Luthman 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 \n" "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"); } -- cgit v1.2.1