From 4aa595085083941785b187b6dea74edd8334184d Mon Sep 17 00:00:00 2001 From: Svend Sorensen Date: Tue, 8 Feb 2005 08:23:25 +0000 Subject: [PATCH] Added long options to all tools. Tools exit if format is not "cue" or "toc". --- man/cuebreakpoints.man | 6 +++--- man/cueconvert.man | 8 ++++---- man/cueprint.man | 14 +++++++------- tools/cuebreakpoints.c | 24 ++++++++++++++++-------- tools/cueconvert.c | 30 +++++++++++++++++++++--------- tools/cueprint.c | 33 ++++++++++++++++++++++----------- 6 files changed, 73 insertions(+), 42 deletions(-) diff --git a/man/cuebreakpoints.man b/man/cuebreakpoints.man index 1947f4a..6b087b4 100644 --- a/man/cuebreakpoints.man +++ b/man/cuebreakpoints.man @@ -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 diff --git a/man/cueconvert.man b/man/cueconvert.man index 1966d14..d363f02 100644 --- a/man/cueconvert.man +++ b/man/cueconvert.man @@ -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 diff --git a/man/cueprint.man b/man/cueprint.man index 485d25d..fad2bd9 100644 --- a/man/cueprint.man +++ b/man/cueprint.man @@ -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 ] [\-d