Added long options to all tools.

Tools exit if format is not "cue" or "toc".
This commit is contained in:
Svend Sorensen
2005-02-08 08:23:25 +00:00
parent 45012c8e5e
commit 4aa5950850
6 changed files with 73 additions and 42 deletions

View File

@@ -8,15 +8,15 @@ cuebreakpoints \- print the breakpoints from a cue or toc file
.
.SH SYNOPSIS
.B cuebreakpoints
[\-h] [\-i cue|toc] [file...]
[option...] [file...]
.
.SH OPTIONS
.TP
.B \-h
.B \-h, \--help
print usage information
.
.TP
.B \-i cue|toc
.B \-i, \--input-format cue|toc
set format of file(s)
.
.SH NOTES

View File

@@ -8,19 +8,19 @@ cueconvert \- convert between the cue and toc formats
.
.SH SYNOPSIS
.B cueconvert
[\-h] [\-i cue|toc] [\-o cue|toc] [infile [outfile]]
[option...] [infile [outfile]]
.
.SH OPTIONS
.TP
.B \-h
.B \-h, \--help
print usage information
.
.TP
.B \-i cue|toc
.B \-i, \--input-format cue|toc
set format of input file
.
.TP
.B \-o cue|toc
.B \-o, \--output-format cue|toc
set format of output file
.
.SH NOTES

View File

@@ -8,27 +8,27 @@ cueprint \- print disc and track infomation for a cue or toc file
.
.SH SYNOPSIS
.B cueprint
[\-h] [\-i cue|toc] [-n <tracknumber>] [\-d <template>] [\-t <template>] [file...]
[option...] [file...]
.
.SH OPTIONS
.TP
.B \-h
.B \-h, \--help
print usage information
.
.TP
.B \-i cue|toc
.B \-i, \--input-format cue|toc
set format of file(s)
.
.TP
.B \-n <tracknumber>
only print track information for track tracknumber. The default is to print information for all tracks.
.B \-n, \--track-number <number>
only print track information for single track. The default is to print information for all tracks.
.
.TP
.B \-d <template>
.B \-d, \--disc-template <template>
set disc template (see TEMPLATE EXPANSION)
.
.TP
.B \-t <template>
.B \-t, \--track-template <template>
set track template (see TEMPLATE EXPANSION)
.
.SH TEMPLATE EXPANSION