浏览代码

gh-repo: update command (#10765)

* gh-repo: update the command

The flags changed around listing source repositories. This change reflects that.

* Update pages/common/gh-repo.md

Co-authored-by: Jack Lin <blueskyson1401@gmail.com>

---------

Co-authored-by: Jack Lin <blueskyson1401@gmail.com>
Daniel Kaczmarczyk 1 年之前
父节点
当前提交
16535be64c
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      pages/common/gh-repo.md

+ 2 - 2
pages/common/gh-repo.md

@@ -23,9 +23,9 @@
 
 `gh repo list {{owner}}`
 
-- List only non-forks repositories:
+- List only non-forks repositories and limit the number of repositories to list (default: 30):
 
-`gh repo list {{owner}} --non-forks`
+`gh repo list {{owner}} --source -L {{limit}}`
 
 - List repositories with a specific primary coding language: