diff options
author | David Robillard <d@drobilla.net> | 2012-01-08 20:57:00 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2012-01-08 20:57:00 +0000 |
commit | acd1a7440e0b0a82db635861dc6fcc65f54b51a1 (patch) | |
tree | 3c5cee4fbcb90a9e576f37d3d1607bbef42e1156 | |
parent | d7ea96c20f33febd871adea36e6ab5d77614d3db (diff) | |
download | lilv-acd1a7440e0b0a82db635861dc6fcc65f54b51a1.tar.gz lilv-acd1a7440e0b0a82db635861dc6fcc65f54b51a1.tar.bz2 lilv-acd1a7440e0b0a82db635861dc6fcc65f54b51a1.zip |
Update man pages.
git-svn-id: http://svn.drobilla.net/lad/trunk/lilv@3924 a436a847-0d15-0410-975c-d299462d15a1
-rw-r--r-- | ChangeLog | 1 | ||||
-rw-r--r-- | doc/lv2info.1 | 24 | ||||
-rw-r--r-- | doc/lv2ls.1 | 22 | ||||
-rw-r--r-- | utils/lilv.bash_completion | 4 | ||||
-rw-r--r-- | utils/lv2info.c | 4 | ||||
-rw-r--r-- | utils/lv2ls.c | 6 |
6 files changed, 45 insertions, 16 deletions
@@ -20,6 +20,7 @@ lilv (UNRELEASED) unstable; urgency=low save and restore plugin state both in memory and on disk, as well as save presets in a host-sharable way since the disk format is identical to the LV2 presets format. + * Update old references to lv2_list (now lv2ls) -- David Robillard <d@drobilla.net> (UNRELEASED) diff --git a/doc/lv2info.1 b/doc/lv2info.1 index dac2f2c..b596506 100644 --- a/doc/lv2info.1 +++ b/doc/lv2info.1 @@ -1,7 +1,7 @@ .\" First parameter, NAME, should be all caps .\" Second parameter, SECTION, should be 1-8, maybe w/ subsection .\" other parameters are allowed: see man(7), man(1) -.TH LV2_INSPECT 1 "4 May 2009" +.TH LV2INFO 1 "8 Jan 2012" .\" Please adjust this date whenever revising the manpage. .\" .\" Some roff macros, for reference: @@ -15,14 +15,30 @@ .\" .sp <n> insert n+1 empty lines .\" for manpage-specific macros, see man(7) .SH NAME -.B lv2info \- print information about an LV2 plugin in human-readable form. +.B lv2info \- print information about an installed LV2 plugin. .SH SYNOPSIS .B lv2info PLUGIN_URI +.SH OPTIONS +.TP +\fB\-p FILE +Write Turtle description of plugin to FILE + +.TP +\fB\-m FILE +Add record of plugin to manifest FILE + +.TP +\fB\-\-help\fR +Display help and exit + +.TP +\fB\-\-version\fR +Display version information and exit + .SH SEE ALSO .BR lilv(3), -.BR lv2_list(1), -.BR lv2_jack_host(1), +.BR lv2ls(1) .SH AUTHOR lv2info was written by David Robillard <d@drobilla.net> diff --git a/doc/lv2ls.1 b/doc/lv2ls.1 index 3730c6f..bb48b18 100644 --- a/doc/lv2ls.1 +++ b/doc/lv2ls.1 @@ -1,7 +1,7 @@ .\" First parameter, NAME, should be all caps .\" Second parameter, SECTION, should be 1-8, maybe w/ subsection .\" other parameters are allowed: see man(7), man(1) -.TH LV2_LIST 1 "4 May 2009" +.TH LV2_LIST 1 "8 Jan 2012" .\" Please adjust this date whenever revising the manpage. .\" .\" Some roff macros, for reference: @@ -15,15 +15,27 @@ .\" .sp <n> insert n+1 empty lines .\" for manpage-specific macros, see man(7) .SH NAME -.B lv2_list \- List all installed LV2 plugins. +.B lv2ls \- List all installed LV2 plugins. .SH SYNOPSIS -.B lv2_list +.B lv2ls [OPTIONS] + +.SH OPTIONS +.TP +\fB\-n\fT, \fB\-\-names\fR +Show names instead of URIs + +.TP +\fB\-\-help\fR +Display help and exit + +.TP +\fB\-\-version\fR +Display version information and exit .SH SEE ALSO .BR lilv(3), -.BR lv2ls(1), -.BR lv2jack(1), +.BR lv2info(1) .SH AUTHOR lv2ls was written by David Robillard <d@drobilla.net> diff --git a/utils/lilv.bash_completion b/utils/lilv.bash_completion index 372982d..4a553a7 100644 --- a/utils/lilv.bash_completion +++ b/utils/lilv.bash_completion @@ -2,7 +2,7 @@ # 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. +# Updated for Lilv by David Robillard <d@drobilla.net> on 2012-01-08. # Written by Lars Luthman <lars.luthman@gmail.com> on 2009-10-12. # No copyright claimed for this script. Do what you want with it. @@ -16,7 +16,7 @@ function _lv2info() { local uri cur opts w wn raw_reply len type - opts=`lv2_list | xargs -n1 echo -n " "` + opts=`lv2ls | xargs -n1 echo -n " "` # This is the last "word", as split by Bash. cur="${COMP_WORDS[COMP_CWORD]}" diff --git a/utils/lv2info.c b/utils/lv2info.c index e152bfe..162a12b 100644 --- a/utils/lv2info.c +++ b/utils/lv2info.c @@ -336,11 +336,11 @@ print_usage(void) { printf( "Usage: lv2info [OPTIONS] PLUGIN_URI\n" - "Show information about an installed LV2 plugin.\n\n" + "Print information about an installed LV2 plugin.\n\n" " -p FILE Write Turtle description of plugin to FILE\n" " -m FILE Add record of plugin to manifest FILE\n" " --help Display this help and exit\n" - " --version Output version information and exit\n\n" + " --version Display version information and exit\n\n" "For -p and -m, Turtle files are appended to (not overwritten),\n" "and @prefix directives are only written if the file was empty.\n" "This allows several plugins to be added to a single file.\n"); diff --git a/utils/lv2ls.c b/utils/lv2ls.c index 4822fe2..5432f37 100644 --- a/utils/lv2ls.c +++ b/utils/lv2ls.c @@ -41,7 +41,7 @@ void print_version(void) { printf( - "lv2_list (lilv) " LILV_VERSION "\n" + "lv2ls (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" @@ -51,12 +51,12 @@ print_version(void) void print_usage(void) { - printf("Usage: lv2_list [OPTIONS]\n"); + printf("Usage: lv2ls [OPTIONS]\n"); printf("List all installed LV2 plugins.\n"); printf("\n"); printf(" -n, --names Show names instead of URIs\n"); printf(" --help Display this help and exit\n"); - printf(" --version Output version information and exit\n"); + printf(" --version Display version information and exit\n"); printf("\n"); printf("The environment variable LV2_PATH can be used to control where\n"); printf("this (and all other lilv based LV2 hosts) will search for plugins.\n"); |