Skip to content

Commit

Permalink
gist: expand all short options to long ones
Browse files Browse the repository at this point in the history
  • Loading branch information
nicokosi committed Apr 2, 2021
1 parent 747e52d commit 18aafe0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pages/common/gist.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,20 +13,20 @@

- Create a private gist with a description:

`gist -p -d "{{A meaningful description}}" {{file.txt}} `
`gist --private --description "{{A meaningful description}}" {{file.txt}} `

- Read contents from stdin and create a gist from it:

`{{echo "hello world"}} | gist`

- List your public and private gists:

`gist -l`
`gist --list`

- List all public gists for any user:

`gist -l {{username}}`
`gist --list {{username}}`

- Update a gist using the id from URL:

`gist -u {{GIST_ID}} {{file.txt}}`
`gist --update {{GIST_ID}} {{file.txt}}`

0 comments on commit 18aafe0

Please sign in to comment.