From 80c2d46b46deb6735b262f13109001f0a3ebfcaa Mon Sep 17 00:00:00 2001 From: Nicolas Kosinski Date: Fri, 2 Apr 2021 18:59:30 +0200 Subject: [PATCH] gist: enhance list/update description (#5666) --- pages/common/gist.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/pages/common/gist.md b/pages/common/gist.md index 567326a51..dc5f84235 100644 --- a/pages/common/gist.md +++ b/pages/common/gist.md @@ -13,7 +13,7 @@ - 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: @@ -21,12 +21,12 @@ - List your public and private gists: -`gist -l` +`gist --list` -- List all gists for the currently logged in user: +- List all public gists for any user: -`gist -l {{username}}` +`gist --list {{username}}` -- Use the id from the gist URL to modify or include a file: +- Update a gist using the id from URL: -`gist -u {{GIST_ID}} {{file.txt}}` +`gist --update {{GIST_ID}} {{file.txt}}`