Skip to content

Commit

Permalink
autopep8, openssl-req, safe, sn, lvm: fix typo (tldr-pages#5719)
Browse files Browse the repository at this point in the history
  • Loading branch information
bl-ue authored Apr 10, 2021
1 parent 3815dd2 commit 25a8f14
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion pages/common/autopep8.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
> Format Python code according to the PEP 8 style guide.
> More information: <https://github.com/hhatto/autopep8>.
- Format a file to stdout, with a custom maximium line length:
- Format a file to stdout, with a custom maximum line length:

`autopep8 {{path/to/file.py}} --max-line-length {{length}}`

Expand Down
2 changes: 1 addition & 1 deletion pages/common/openssl-req.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@

`openssl req -new -sha256 -key {{filename.key}} -out {{filename.csr}}`

- Generate a self-signed certificate and a corresponding keypair, storing both in a file:
- Generate a self-signed certificate and a corresponding key-pair, storing both in a file:

`openssl req -new -x509 -newkey {{rsa}}:{{4096}} -keyout {{filename.key}} -out {{filename.cert}} -subj "{{/C=XX/CN=foobar}}" -days {{365}}`
2 changes: 1 addition & 1 deletion pages/common/safe.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

`safe move {{old/path/to/secret}} {{new/path/to/secret}}`

- Generate a new 2048-bit SSH keypair and store it:
- Generate a new 2048-bit SSH key-pair and store it:

`safe ssh {{2048}} {{path/to/secret}}`

Expand Down
2 changes: 1 addition & 1 deletion pages/common/sn.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

- Re-sign an assembly with the specified private key:

`sn -R {{path/to/assembly.dll}} {{path/to/keypair.snk}}`
`sn -R {{path/to/assembly.dll}} {{path/to/key_pair.snk}}`

- Show the public key of the private key that was used to sign an assembly:

Expand Down
2 changes: 1 addition & 1 deletion pages/linux/lvm.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

`sudo lvm pvcreate {{/dev/sdXY}}`

- Display information about physcial volumes:
- Display information about physical volumes:

`sudo lvm pvdisplay`

Expand Down

0 comments on commit 25a8f14

Please sign in to comment.