File: rename-script.patch

package info (click to toggle)
libmysql-diff-perl 0.50-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 456 kB
  • ctags: 69
  • sloc: perl: 1,253; makefile: 12
file content (70 lines) | stat: -rw-r--r-- 2,332 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
Description: mysqldiff is renamed to mysql-schema-diff due to a name conflict
 change the reference to the name in the script/POD.
 (Doing this via d/rules would be difficult since we don't want to change all strings.)
Origin: vendor
Bug-Debian: https://bugs.debian.org/663182
Forwarded: not-needed
Author: gregor herrmann <gregoa@debian.org>
Last-Update: 2012-04-06

--- a/bin/mysqldiff
+++ b/bin/mysqldiff
@@ -2,17 +2,17 @@
 
 =head1 NAME
 
-mysqldiff - compare MySQL database schemas
+mysql-schema-diff - compare MySQL database schemas
 
 =head1 SYNOPSIS
 
-    mysqldiff [B<options>] B<database1> B<database2>
+    mysql-schema-diff [B<options>] B<database1> B<database2>
 
-    mysqldiff --help
+    mysql-schema-diff --help
 
 =head1 DESCRIPTION
 
-F<mysqldiff> is a Perl script front-end to the
+F<mysql-schema-diff> is a Perl script front-end to the
 L<CPAN|http://www.perl.com/CPAN> module
 L<MySQL::Diff|http://search.cpan.org/search?module=MySQL::Diff> which
 compares the data structures (i.e. schema / table definitions) of two
@@ -40,22 +40,22 @@
 =head1 EXAMPLES
 
   # compare table definitions in two files
-  mysqldiff db1.mysql db2.mysql
+  mysql-schema-diff db1.mysql db2.mysql
 
   # compare table definitions in a file 'db1.mysql' with a database 'db2'
-  mysqldiff db1.mysql db2
+  mysql-schema-diff db1.mysql db2
 
   # interactively upgrade schema of database 'db1' to be like the
   # schema described in the file 'db2.mysql'
-  mysqldiff -A db1 db2.mysql
+  mysql-schema-diff -A db1 db2.mysql
 
   # compare table definitions in two databases on a remote machine
-  mysqldiff --host=remote.host.com --user=myaccount db1 db2
+  mysql-schema-diff --host=remote.host.com --user=myaccount db1 db2
 
   # compare table definitions in a local database 'foo' with a
   # database 'bar' on a remote machine, when a file foo already
   # exists in the current directory
-  mysqldiff --host2=remote.host.com --password=secret db:foo bar
+  mysql-schema-diff --host2=remote.host.com --password=secret db:foo bar
 
 =head1 OPTIONS
 
@@ -177,7 +177,7 @@
 =item
 
 Where authentication is required, the hostname, username, and password
-given by the corresponding options are used (type C<mysqldiff --help>
+given by the corresponding options are used (type C<mysql-schema-diff --help>
 for more information).
 
 =item