~ubuntu-branches/ubuntu/dapper/vorbis-tools/dapper-updates

« back to all changes in this revision

Viewing changes to vorbiscomment/vcomment.c

  • Committer: Bazaar Package Importer
  • Author(s): Adeodato Simó
  • Date: 2005-06-04 02:13:03 UTC
  • mfrom: (2.1.1 sarge)
  • Revision ID: james.westby@ubuntu.com-20050604021303-9qh4vwajf43u90sh
Tags: 1.0.1-1.4
* Authorized NMU.

* Restore speex support (closes: #306809). This had been lost in the
  previous upload due to speex 1.1 having moved its include files from
  /usr/include to /usr/include/speex.

  + debian/rules: add -I/usr/include/speex to CFLAGS (and export it too).

Show diffs side-by-side

added added

removed removed

Lines of Context:
285
285
{
286
286
        fprintf(stderr, 
287
287
                _("Usage: \n"
288
 
                "  vorbiscomment [-l] file.ogg (to list the comments)\n"
289
 
                "  vorbiscomment -a in.ogg out.ogg (to append comments)\n"
290
 
                "  vorbiscomment -w in.ogg out.ogg (to modify comments)\n"
291
 
                "       in the write case, a new set of comments in the form\n"
292
 
                "       'TAG=value' is expected on stdin. This set will\n"
293
 
                "       completely replace the existing set.\n"
294
 
                "   Either of -a and -w can take only a single filename,\n"
295
 
                "   in which case a temporary file will be used.\n"
296
 
                "   -c can be used to take comments from a specified file\n"
297
 
                "   instead of stdin.\n"
298
 
                "   Example: vorbiscomment -a in.ogg -c comments.txt\n"
299
 
                "   will append the comments in comments.txt to in.ogg\n"
300
 
                "   Finally, you may specify any number of tags to add on\n"
301
 
                "   the command line using the -t option. e.g.\n"
 
288
                "  vorbiscomment [-Vh]\n" 
 
289
                "  vorbiscomment [-lR] file\n"
 
290
                "  vorbiscomment [-qR] [-c file] [-t tag] <-a|-w> inputfile [outputfile]\n"
 
291
                "\n"
 
292
                "    -l           list the comments\n"
 
293
                "    -a           append comments\n"
 
294
                "    -w           write comments, replacing the existing ones\n"
 
295
                "    -c <file>    read the comments from the specified file\n"
 
296
                "    -q           quiet mode\n"
 
297
                "    -V           version\n"
 
298
                "    -h           help\n"
 
299
                "    -R, --raw    read and write comments in utf8\n"
 
300
                "\n"
 
301
                "  If no OUTPUTFILE is specified, vorbiscomment will use a temporary file\n"
 
302
                "\n"
 
303
                "  vorbiscomment reads comments from:\n"
 
304
                "   - stdin in the form of 'TAG=value'\n"
 
305
                "   - a specified file instead of stdin, using '-c <FILE>'\n"
 
306
                "   - the command line, using '-t <TAG>' (disables reading from stdin)\n"
 
307
                "\n"
 
308
                "  Examples:\n"
 
309
                "   vorbiscomment -a in.ogg -c comments.txt\n"
302
310
                "   vorbiscomment -a in.ogg -t \"ARTIST=Some Guy\" -t \"TITLE=A Title\"\n"
303
 
                "   (note that when using this, reading comments from the comment\n"
304
 
                "   file or stdin is disabled)\n"
305
 
        "   Raw mode (--raw, -R) will read and write comments in utf8,\n"
306
 
        "   rather than converting to the user's character set. This is\n"
307
 
        "   useful for using vorbiscomment in scripts. However, this is\n"
308
 
        "   not sufficient for general round-tripping of comments in all\n"
309
 
        "   cases.\n")
 
311
                "\n"
 
312
                "  NOTE: Raw mode (--raw, -R) will read and write comments in utf8,\n"
 
313
                "  rather than converting to the user's character set. This is\n"
 
314
                "  useful for using vorbiscomment in scripts. However, this is\n"
 
315
                "  not sufficient for general round-tripping of comments in all\n"
 
316
                "  cases.\n")
310
317
        
311
318
        ); 
312
319
}