update README.md to match command

This commit is contained in:
Jeromy 2016-06-07 17:37:00 -07:00 committed by DNH
parent dbe3bf0460
commit 085abc1e1e

View File

@ -1,7 +1,7 @@
# ipfs-key # ipfs-key
A tool for easily generating ipfs keypairs. When run, it will write the bytes of A tool for easily generating ipfs keypairs. When run, it will write the bytes of
the serialized private key to stdout. By default, a 2048 bit RSA key will be the serialized private key to stdout. By default, a 2048 bit RSA key will be
generated. The keysize can be changed by specifying the `-size` option, and the generated. The keysize can be changed by specifying the `-bitsize` option, and the
key type can be changed by specifying the `-type` option (currently only RSA is key type can be changed by specifying the `-type` option (currently only RSA is
implemented). implemented).
@ -12,5 +12,5 @@ $ go get github.com/whyrusleeping/ipfs-key
## Usage ## Usage
``` ```
$ ipfs-key -size=4096 > my.key $ ipfs-key -bitsize=4096 > my.key
``` ```