diff --git a/res/doc/usage_en.txt b/res/doc/usage_en.txt index fe34005b428954e12410ec8b63ddeac9568de7b7..24c1639c80dfddc61bc3b7504c25cb06dc73ab5e 100644 --- a/res/doc/usage_en.txt +++ b/res/doc/usage_en.txt @@ -12,6 +12,7 @@ Parameters -F --field This parameter can be used to specify the fields, separated by commas. The default is all fields. -t --table If the output format is sql, using it to specify the table name to insert data to. + -T --trim Remove the prefix and postfix of every field when output data. -H --human Output a readable format, print the field name, and use the tab key to split. -r --recursive Recursive mode. The default mode is parallel, in which each field loops independently. @@ -43,6 +44,7 @@ $>zd.exe -d demo/default.yaml -c demo/test.yaml -n 100 -o test.txt # Output da $>zd.exe -d demo/default.yaml -c demo/test.yaml -n 100 -o test.json # Output data in JSON. $>zd.exe -d demo/default.yaml -c demo/test.yaml -n 100 -o test.xml # Output data in XML. $>zd.exe -d demo/default.yaml -n 100 -o test.sql -t user -s mysql # Output the sql inserted into the table user. +$>zd.exe -d demo/default.yaml -o test.sql -t user -s mysql --trim # Remove the prefix and postfix of every field. $>zd.exe -i db.sql -o db # Generate YAML files for each table by parsing db.sql and store them in the db directory. $>zd.exe -c demo/default.yaml -i test.txt --decode # Parse the file specified by -i according to the config of -d.