mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-11 21:51:21 +00:00
Add lib/, t/lib/, and sandbox/. All modules are updated and passing on MySQL 5.1.
This commit is contained in:
21
t/lib/samples/OptionParser/help001.txt
Normal file
21
t/lib/samples/OptionParser/help001.txt
Normal file
@@ -0,0 +1,21 @@
|
||||
OptionParser.t parses command line options. For more details, please use the --help option, or try 'perldoc $PROGRAM_NAME' for complete documentation.
|
||||
Usage: $PROGRAM_NAME [OPTIONS]
|
||||
|
||||
Options:
|
||||
|
||||
--defaults-file=s -F alignment test
|
||||
--[no]defaultset alignment test with a very long thing that is longer
|
||||
than 80 characters wide and must be wrapped
|
||||
--dog=s -D Dogs are fun
|
||||
--[no]foo Foo
|
||||
--love -l And peace
|
||||
|
||||
Option types: s=string, i=integer, f=float, h/H/a/A=comma-separated list, d=DSN, z=size, m=time
|
||||
|
||||
Options and values after processing arguments:
|
||||
|
||||
--defaults-file (No value)
|
||||
--defaultset FALSE
|
||||
--dog (No value)
|
||||
--foo FALSE
|
||||
--love 0
|
14
t/lib/samples/OptionParser/help002.txt
Normal file
14
t/lib/samples/OptionParser/help002.txt
Normal file
@@ -0,0 +1,14 @@
|
||||
OptionParser.t parses command line options. For more details, please use the --help option, or try 'perldoc $PROGRAM_NAME' for complete documentation.
|
||||
Usage: $PROGRAM_NAME <options>
|
||||
|
||||
Options:
|
||||
|
||||
--database=s -D Specify the database for all tables
|
||||
--[no]nouniquechecks Set UNIQUE_CHECKS=0 before LOAD DATA INFILE
|
||||
|
||||
Option types: s=string, i=integer, f=float, h/H/a/A=comma-separated list, d=DSN, z=size, m=time
|
||||
|
||||
Options and values after processing arguments:
|
||||
|
||||
--database (No value)
|
||||
--nouniquechecks FALSE
|
18
t/lib/samples/OptionParser/help003.txt
Normal file
18
t/lib/samples/OptionParser/help003.txt
Normal file
@@ -0,0 +1,18 @@
|
||||
OptionParser.t parses command line options. For more details, please use the --help option, or try 'perldoc $PROGRAM_NAME' for complete documentation.
|
||||
Usage: $PROGRAM_NAME <options>
|
||||
|
||||
Options:
|
||||
|
||||
--ignore -i Use IGNORE for INSERT statements
|
||||
--replace -r Use REPLACE instead of INSERT statements
|
||||
|
||||
Option types: s=string, i=integer, f=float, h/H/a/A=comma-separated list, d=DSN, z=size, m=time
|
||||
|
||||
Rules:
|
||||
|
||||
--ignore and --replace are mutually exclusive.
|
||||
|
||||
Options and values after processing arguments:
|
||||
|
||||
--ignore FALSE
|
||||
--replace FALSE
|
16
t/lib/samples/OptionParser/help004.txt
Normal file
16
t/lib/samples/OptionParser/help004.txt
Normal file
@@ -0,0 +1,16 @@
|
||||
OptionParser.t parses command line options. For more details, please use the --help option, or try 'perldoc $PROGRAM_NAME' for complete documentation.
|
||||
Usage: $PROGRAM_NAME <options>
|
||||
|
||||
Options:
|
||||
|
||||
--bar=m Time. Optional suffix s=seconds, m=minutes, h=hours, d=days; if no
|
||||
suffix, m is used.
|
||||
--foo=m Time. Optional suffix s=seconds, m=minutes, h=hours, d=days; if no
|
||||
suffix, s is used.
|
||||
|
||||
Option types: s=string, i=integer, f=float, h/H/a/A=comma-separated list, d=DSN, z=size, m=time
|
||||
|
||||
Options and values after processing arguments:
|
||||
|
||||
--bar (No value)
|
||||
--foo (No value)
|
33
t/lib/samples/OptionParser/help005.txt
Normal file
33
t/lib/samples/OptionParser/help005.txt
Normal file
@@ -0,0 +1,33 @@
|
||||
OptionParser.t parses command line options. For more details, please use the --help option, or try 'perldoc $PROGRAM_NAME' for complete documentation.
|
||||
Usage: $PROGRAM_NAME <options>
|
||||
|
||||
Options:
|
||||
|
||||
--bar=d DSN bar
|
||||
--foo=d DSN foo
|
||||
|
||||
Option types: s=string, i=integer, f=float, h/H/a/A=comma-separated list, d=DSN, z=size, m=time
|
||||
|
||||
Rules:
|
||||
|
||||
DSN values in --foo default to values in --bar if COPY is yes.
|
||||
|
||||
DSN syntax is key=value[,key=value...] Allowable DSN keys:
|
||||
|
||||
KEY COPY MEANING
|
||||
=== ==== =============================================
|
||||
A yes Default character set
|
||||
D yes Database to use
|
||||
F yes Only read default options from the given file
|
||||
P yes Port number to use for connection
|
||||
S yes Socket file to use for connection
|
||||
h yes Connect to host
|
||||
p yes Password to use when connecting
|
||||
u yes User for login if not current user
|
||||
|
||||
If the DSN is a bareword, the word is treated as the 'h' key.
|
||||
|
||||
Options and values after processing arguments:
|
||||
|
||||
--bar (No value)
|
||||
--foo (No value)
|
33
t/lib/samples/OptionParser/help006.txt
Normal file
33
t/lib/samples/OptionParser/help006.txt
Normal file
@@ -0,0 +1,33 @@
|
||||
OptionParser.t parses command line options. For more details, please use the --help option, or try 'perldoc $PROGRAM_NAME' for complete documentation.
|
||||
Usage: $PROGRAM_NAME <options>
|
||||
|
||||
Options:
|
||||
|
||||
--bar=d DSN bar
|
||||
--foo=d DSN foo
|
||||
|
||||
Option types: s=string, i=integer, f=float, h/H/a/A=comma-separated list, d=DSN, z=size, m=time
|
||||
|
||||
Rules:
|
||||
|
||||
DSN values in --foo default to values in --bar if COPY is yes.
|
||||
|
||||
DSN syntax is key=value[,key=value...] Allowable DSN keys:
|
||||
|
||||
KEY COPY MEANING
|
||||
=== ==== =============================================
|
||||
A yes Default character set
|
||||
D yes Database to use
|
||||
F yes Only read default options from the given file
|
||||
P yes Port number to use for connection
|
||||
S yes Socket file to use for connection
|
||||
h yes Connect to host
|
||||
p yes Password to use when connecting
|
||||
u yes User for login if not current user
|
||||
|
||||
If the DSN is a bareword, the word is treated as the 'h' key.
|
||||
|
||||
Options and values after processing arguments:
|
||||
|
||||
--bar D=DB,h=localhost,u=USER
|
||||
--foo D=DB,h=otherhost,u=USER
|
20
t/lib/samples/OptionParser/help007.txt
Normal file
20
t/lib/samples/OptionParser/help007.txt
Normal file
@@ -0,0 +1,20 @@
|
||||
OptionParser.t parses command line options. For more details, please use the --help option, or try 'perldoc $PROGRAM_NAME' for complete documentation.
|
||||
Usage: $PROGRAM_NAME <options>
|
||||
|
||||
Options:
|
||||
|
||||
--books=a -b books optional
|
||||
--columns=H -C cols required
|
||||
--databases=A -d databases required
|
||||
--foo=A foo (default a,b,c)
|
||||
--tables=h -t tables optional
|
||||
|
||||
Option types: s=string, i=integer, f=float, h/H/a/A=comma-separated list, d=DSN, z=size, m=time
|
||||
|
||||
Options and values after processing arguments:
|
||||
|
||||
--books o,p
|
||||
--columns a,b
|
||||
--databases f,g
|
||||
--foo a,b,c
|
||||
--tables d,e
|
42
t/lib/samples/OptionParser/help008.txt
Normal file
42
t/lib/samples/OptionParser/help008.txt
Normal file
@@ -0,0 +1,42 @@
|
||||
OptionParser.t parses command line options. For more details, please use the --help option, or try 'perldoc $PROGRAM_NAME' for complete documentation.
|
||||
Usage: $PROGRAM_NAME <options>
|
||||
|
||||
Options:
|
||||
|
||||
--algorithm=s Checksum algorithm (ACCUM|CHECKSUM|BIT_XOR)
|
||||
--schema Checksum SHOW CREATE TABLE intead of table data
|
||||
|
||||
Connection:
|
||||
|
||||
--defaults-file=s -F Only read mysql options from the given file
|
||||
|
||||
Filter:
|
||||
|
||||
--databases=h -d Only checksum this comma-separated list of databases
|
||||
|
||||
Help:
|
||||
|
||||
--explain-hosts Explain hosts
|
||||
--help Show help and exit
|
||||
--version Show version and exit
|
||||
|
||||
Output:
|
||||
|
||||
--tab Print tab-separated output, not column-aligned output
|
||||
|
||||
Option types: s=string, i=integer, f=float, h/H/a/A=comma-separated list, d=DSN, z=size, m=time
|
||||
|
||||
Rules:
|
||||
|
||||
--schema is restricted to option groups Connection, Filter, Output, Help.
|
||||
|
||||
Options and values after processing arguments:
|
||||
|
||||
--algorithm (No value)
|
||||
--databases (No value)
|
||||
--defaults-file (No value)
|
||||
--explain-hosts FALSE
|
||||
--help FALSE
|
||||
--schema FALSE
|
||||
--tab FALSE
|
||||
--version FALSE
|
15
t/lib/samples/OptionParser/help009.txt
Normal file
15
t/lib/samples/OptionParser/help009.txt
Normal file
@@ -0,0 +1,15 @@
|
||||
OptionParser.t parses command line options. For more details, please use the --help option, or try 'perldoc $PROGRAM_NAME' for complete documentation.
|
||||
Usage: $PROGRAM_NAME <options>
|
||||
|
||||
Options:
|
||||
|
||||
--cat=A cat option (default a,b)
|
||||
--config=A Read this comma-separated list of config files (must be the first
|
||||
option on the command line).
|
||||
|
||||
Option types: s=string, i=integer, f=float, h/H/a/A=comma-separated list, d=DSN, z=size, m=time
|
||||
|
||||
Options and values after processing arguments:
|
||||
|
||||
--cat a,b
|
||||
--config /etc/maatkit/maatkit.conf,/etc/maatkit/OptionParser.t.conf,$ENV{HOME}/.maatkit.conf,$ENV{HOME}/.OptionParser.t.conf
|
15
t/lib/samples/OptionParser/help010.txt
Normal file
15
t/lib/samples/OptionParser/help010.txt
Normal file
@@ -0,0 +1,15 @@
|
||||
OptionParser.t parses command line options. For more details, please use the --help option, or try 'perldoc $PROGRAM_NAME' for complete documentation.
|
||||
Usage: $PROGRAM_NAME <options>
|
||||
|
||||
Options:
|
||||
|
||||
--cat cat option
|
||||
--config=A Read this comma-separated list of config files (must be the first
|
||||
option on the command line).
|
||||
|
||||
Option types: s=string, i=integer, f=float, h/H/a/A=comma-separated list, d=DSN, z=size, m=time
|
||||
|
||||
Options and values after processing arguments:
|
||||
|
||||
--cat TRUE
|
||||
--config $trunk/t/lib/samples/empty
|
Reference in New Issue
Block a user