Merge pull request #4 from donothesitate/master

update README.md to match command
This commit is contained in:
Jeromy Johnson 2016-10-24 10:32:43 -07:00 committed by GitHub
commit 7d1c44a331

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
``` ```