Version information now includes build.
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
$Id: cd-drive.c,v 1.16 2005/01/13 19:58:17 rocky Exp $
|
$Id: cd-drive.c,v 1.17 2005/01/22 22:21:36 rocky Exp $
|
||||||
|
|
||||||
Copyright (C) 2004, 2005 Rocky Bernstein <rocky@panix.com>
|
Copyright (C) 2004, 2005 Rocky Bernstein <rocky@panix.com>
|
||||||
|
|
||||||
@@ -171,7 +171,7 @@ main(int argc, const char *argv[])
|
|||||||
be reflected in `arguments'. */
|
be reflected in `arguments'. */
|
||||||
parse_options(argc, argv);
|
parse_options(argc, argv);
|
||||||
|
|
||||||
print_version(program_name, VERSION, false, opts.version_only);
|
print_version(program_name, CDIO_VERSION, false, opts.version_only);
|
||||||
|
|
||||||
if (opts.debug_level == 3) {
|
if (opts.debug_level == 3) {
|
||||||
cdio_loglevel_default = CDIO_LOG_INFO;
|
cdio_loglevel_default = CDIO_LOG_INFO;
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
$Id: cd-info.c,v 1.109 2005/01/12 11:34:52 rocky Exp $
|
$Id: cd-info.c,v 1.110 2005/01/22 22:21:36 rocky Exp $
|
||||||
|
|
||||||
Copyright (C) 2003, 2004, 2005 Rocky Bernstein <rocky@panix.com>
|
Copyright (C) 2003, 2004, 2005 Rocky Bernstein <rocky@panix.com>
|
||||||
Copyright (C) 1996, 1997, 1998 Gerd Knorr <kraxel@bytesex.org>
|
Copyright (C) 1996, 1997, 1998 Gerd Knorr <kraxel@bytesex.org>
|
||||||
@@ -860,7 +860,7 @@ main(int argc, const char *argv[])
|
|||||||
be reflected in `arguments'. */
|
be reflected in `arguments'. */
|
||||||
parse_options(argc, argv);
|
parse_options(argc, argv);
|
||||||
|
|
||||||
print_version(program_name, VERSION, opts.no_header, opts.version_only);
|
print_version(program_name, CDIO_VERSION, opts.no_header, opts.version_only);
|
||||||
|
|
||||||
if (opts.debug_level == 3) {
|
if (opts.debug_level == 3) {
|
||||||
cdio_loglevel_default = CDIO_LOG_INFO;
|
cdio_loglevel_default = CDIO_LOG_INFO;
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
/*
|
/*
|
||||||
$Id: iso-info.c,v 1.19 2005/01/12 11:34:52 rocky Exp $
|
$Id: iso-info.c,v 1.20 2005/01/22 22:21:36 rocky Exp $
|
||||||
|
|
||||||
Copyright (C) 2004 Rocky Bernstein <rocky@panix.com>
|
Copyright (C) 2004, 2005 Rocky Bernstein <rocky@panix.com>
|
||||||
|
|
||||||
This program is free software; you can redistribute it and/or modify
|
This program is free software; you can redistribute it and/or modify
|
||||||
it under the terms of the GNU General Public License as published by
|
it under the terms of the GNU General Public License as published by
|
||||||
@@ -291,7 +291,7 @@ main(int argc, const char *argv[])
|
|||||||
be reflected in `arguments'. */
|
be reflected in `arguments'. */
|
||||||
parse_options(argc, argv);
|
parse_options(argc, argv);
|
||||||
|
|
||||||
print_version(program_name, VERSION, opts.no_header, opts.version_only);
|
print_version(program_name, CDIO_VERSION, opts.no_header, opts.version_only);
|
||||||
|
|
||||||
if (opts.debug_level == 3) {
|
if (opts.debug_level == 3) {
|
||||||
cdio_loglevel_default = CDIO_LOG_INFO;
|
cdio_loglevel_default = CDIO_LOG_INFO;
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
/*
|
/*
|
||||||
$Id: iso-read.c,v 1.7 2004/11/04 10:08:23 rocky Exp $
|
$Id: iso-read.c,v 1.8 2005/01/22 22:21:36 rocky Exp $
|
||||||
|
|
||||||
Copyright (C) 2004 Rocky Bernstein <rocky@panix.com>
|
Copyright (C) 2004, 2005 Rocky Bernstein <rocky@panix.com>
|
||||||
|
|
||||||
This program is free software; you can redistribute it and/or modify
|
This program is free software; you can redistribute it and/or modify
|
||||||
it under the terms of the GNU General Public License as published by
|
it under the terms of the GNU General Public License as published by
|
||||||
@@ -99,7 +99,7 @@ parse_options (int argc, const char *argv[])
|
|||||||
switch (opt)
|
switch (opt)
|
||||||
{
|
{
|
||||||
case OP_VERSION:
|
case OP_VERSION:
|
||||||
print_version(program_name, VERSION, 0, true);
|
print_version(program_name, CDIO_VERSION, 0, true);
|
||||||
poptFreeContext(optCon);
|
poptFreeContext(optCon);
|
||||||
free(program_name);
|
free(program_name);
|
||||||
exit (EXIT_SUCCESS);
|
exit (EXIT_SUCCESS);
|
||||||
|
|||||||
Reference in New Issue
Block a user