Просмотр исходного кода

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 год назад
Родитель
Сommit
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: