Updated copyright claims

This commit is contained in:
Jean-Pierre André 2014-02-16 18:25:09 +01:00
parent 316abf080f
commit d2daead832
9 changed files with 35 additions and 9 deletions

View File

@ -1,9 +1,10 @@
.\" Copyright (c) 2003\-2005 Richard Russon.
.\" Copyright (c) 2003\-2006 Szabolcs Szakacsits.
.\" Copyright (c) 2004 Per Olofsson.
.\" Copyright (c) 2010\-2013 Jean-Pierre Andre.
.\" This file may be copied under the terms of the GNU Public License.
.\"
.TH NTFSCLONE 8 "February 2006" "ntfs-3g @VERSION@"
.TH NTFSCLONE 8 "February 2013" "ntfs-3g @VERSION@"
.SH NAME
ntfsclone \- Efficiently clone, image, restore or rescue an NTFS
.SH SYNOPSIS

View File

@ -369,6 +369,7 @@ static void usage(void)
#ifdef DEBUG
" -d, --debug Show debug information\n"
#endif
" -V, --version Display version information\n"
"\n"
" If FILE is '-' then send the image to the standard output. If SOURCE is '-'\n"
" and --restore-image is used then read the image from the standard input.\n"
@ -377,9 +378,24 @@ static void usage(void)
exit(1);
}
/**
* version
*/
__attribute__((noreturn))
static void version(void)
{
fprintf(stderr,
"Efficiently clone, image, restore or rescue an NTFS Volume.\n\n"
"Copyright (c) 2003-2006 Szabolcs Szakacsits\n"
"Copyright (c) 2004-2006 Anton Altaparmakov\n"
"Copyright (c) 2010-2013 Jean-Pierre Andre\n\n");
fprintf(stderr, "%s\n%s%s", ntfs_gpl, ntfs_bugs, ntfs_home);
exit(1);
}
static void parse_options(int argc, char **argv)
{
static const char *sopt = "-dfhmno:O:qrst";
static const char *sopt = "-dfhmno:O:qrstV";
static const struct option lopt[] = {
#ifdef DEBUG
{ "debug", no_argument, NULL, 'd' },
@ -398,6 +414,7 @@ static void parse_options(int argc, char **argv)
{ "new-half-serial", no_argument, NULL, 'i' },
{ "save-image", no_argument, NULL, 's' },
{ "preserve-timestamps", no_argument, NULL, 't' },
{ "version", no_argument, NULL, 'V' },
{ NULL, 0, NULL, 0 }
};
@ -458,6 +475,9 @@ static void parse_options(int argc, char **argv)
case 't':
opt.preserve_timestamps++;
break;
case 'V':
version();
break;
default:
err_printf("Unknown option '%s'.\n", argv[optind-1]);
usage();

View File

@ -1,8 +1,9 @@
.\" Copyright (c) 2005-2006 Szabolcs Szakacsits.
.\" Copyright (c) 2005 Richard Russon.
.\" Copyright (c) 2011-2013 Jean-Pierre Andre
.\" This file may be copied under the terms of the GNU Public License.
.\"
.TH NTFSFIX 8 "January 2006" "ntfs-3g @VERSION@"
.TH NTFSFIX 8 "January 2013" "ntfs-3g @VERSION@"
.SH NAME
ntfsfix \- fix common errors and force Windows to check NTFS
.SH SYNOPSIS

View File

@ -153,8 +153,8 @@ static void version(void)
"Attempt to fix an NTFS partition.\n\n"
"Copyright (c) 2000-2006 Anton Altaparmakov\n"
"Copyright (c) 2002-2006 Szabolcs Szakacsits\n"
"Copyright (c) 2007 Yura Pakhuchiy\n\n"
"Copyright (c) 2011 Jean-Pierre Andre\n\n",
"Copyright (c) 2007 Yura Pakhuchiy\n"
"Copyright (c) 2011-2012 Jean-Pierre Andre\n\n",
EXEC_NAME, VERSION);
ntfs_log_info("%s\n%s%s", ntfs_gpl, ntfs_bugs, ntfs_home);
exit(1);

View File

@ -8,6 +8,7 @@
* Copyright (c) 2004-2005 Yuval Fledel
* Copyright (c) 2004-2007 Yura Pakhuchiy
* Copyright (c) 2005 Cristian Klein
* Copyright (c) 2011-2012 Jean-Pierre Andre
*
* This utility will dump a file's attributes.
*
@ -118,6 +119,7 @@ static void version(void)
printf(" 2003 Leonard Norrgård\n");
printf(" 2004-2005 Yuval Fledel\n");
printf(" 2004-2007 Yura Pakhuchiy\n");
printf(" 2011-2012 Jean-Pierre Andre\n");
printf("\n%s\n%s%s\n", ntfs_gpl, ntfs_bugs, ntfs_home);
}

View File

@ -1,8 +1,9 @@
.\" Copyright (c) 2002\-2004 Anton Altaparmakov.
.\" Copyright (c) 2005 Richard Russon.
.\" Copyright (c) 2012 Jean-Pierre Andre.
.\" This file may be copied under the terms of the GNU Public License.
.\"
.TH NTFSLABEL 8 "November 2005" "ntfs-3g @VERSION@"
.TH NTFSLABEL 8 "January 2012" "ntfs-3g @VERSION@"
.SH NAME
ntfslabel \- display/change the label on an ntfs file system
.SH SYNOPSIS

View File

@ -1,8 +1,9 @@
.\" Copyright (c) 2002\-2006 Szabolcs Szakacsits.
.\" Copyright (c) 2005 Richard Russon.
.\" Copyright (c) 2011\-2013 Jean-Pierre Andre.
.\" This file may be copied under the terms of the GNU Public License.
.\"
.TH NTFSRESIZE 8 "February 2006" "ntfs-3g @VERSION@"
.TH NTFSRESIZE 8 "July 2013" "ntfs-3g @VERSION@"
.SH NAME
ntfsresize \- resize an NTFS filesystem without data loss
.SH SYNOPSIS

View File

@ -404,7 +404,7 @@ static void version(void)
printf("Copyright (c) 2002-2005 Anton Altaparmakov\n");
printf("Copyright (c) 2002-2003 Richard Russon\n");
printf("Copyright (c) 2007 Yura Pakhuchiy\n");
printf("Copyright (c) 2011-2012 Jean-Pierre Andre\n");
printf("Copyright (c) 2011-2013 Jean-Pierre Andre\n");
printf("\n%s\n%s%s", ntfs_gpl, ntfs_bugs, ntfs_home);
}

View File

@ -168,7 +168,7 @@ static const char *usage_msg =
"\n"
"Copyright (C) 2005-2007 Yura Pakhuchiy\n"
"Copyright (C) 2006-2009 Szabolcs Szakacsits\n"
"Copyright (C) 2007-2012 Jean-Pierre Andre\n"
"Copyright (C) 2007-2013 Jean-Pierre Andre\n"
"Copyright (C) 2009 Erik Larsson\n"
"\n"
"Usage: %s [-o option[,...]] <device|image_file> <mount_point>\n"