Skip to content

Commit

Permalink
Update README and man
Browse files Browse the repository at this point in the history
  • Loading branch information
ryuichiueda committed Jan 3, 2021
1 parent ab95856 commit cbabe6e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 12 deletions.
13 changes: 6 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,13 +52,12 @@ See [EXAMPLES.md](./EXAMPLES.md)
* `-c`: read data as CSVs
* `-C`: output data with a CSV format
* `-s`: treat numbers from input data as strings
* `-i`: separators change input field separators
* `-I`: separators change input field separators with a regular expression
* `-m`: modules import modules
* `-o`: separators change output field separators
* `-v`: `<variable>=<string>` define a variable from a string on the shell
* `-j`: json mode (A json tree is stored in the dictonary `D`.)
* `-y`: yaml mode (A json tree is stored in the dictonary `D`.)
* `-i <separator>`: separators change input field separators
* `-I <separator>`: separators change input field separators with a regular expression
* `-m <module>`: modules import modules
* `-o <separator>`: separators change output field separators
* `-v <variable>=<string>`: define a variable from a string on the shell
* `-t <json/yaml/xml>`: tree mode (A json/yaml/xml file is loaded to an object "T".)
* `--help`: show help


7 changes: 2 additions & 5 deletions opy.1
Original file line number Diff line number Diff line change
Expand Up @@ -74,11 +74,8 @@ change output field separators
.I <variable>=<string>
define a variable from a string on the shell
.TP
.B \-j
json mode. Opy reads a json tree from a file and it is stored to a dictonary D.
.TP
.B \-y
yaml mode. Opy reads a yaml tree from a file and it is stored to a dictonary D.
.B \-t <json|yaml|xml>
tree mode. Opy reads a tree from a file and it is stored to an object T.

.SH SEE ALSO
.BR python3 (1)

0 comments on commit cbabe6e

Please sign in to comment.