summaryrefslogtreecommitdiffstats
path: root/man/repo-list.1
diff options
context:
space:
mode:
authorRoger Shimizu <rosh@debian.org>2021-06-20 21:41:05 +0900
committerMike Frysinger <vapier@google.com>2021-07-16 20:11:41 +0000
commit0a1f533e2835c856473e3e4046341a4d2f66764b (patch)
tree0902c039b76525f1c6785cec561df46265fdb787 /man/repo-list.1
parent927d29a8afa26a3f1aec841f2150c65e3931ef9b (diff)
downloadgit-repo-0a1f533e2835c856473e3e4046341a4d2f66764b.tar.gz
Add script 'release/update-manpages' to generate manpages
Debian package started to ship manpages for repo since 2.8 [1] And it's about for one year. So I think it should be upstreamed. The script depends on help2man, which is available in both debian [2] and ubuntu [3]. [1] https://tracker.debian.org/news/1150858/accepted-repo-28-1-source-into-unstable [2] https://tracker.debian.org/pkg/help2man [3] https://launchpad.net/ubuntu/+source/help2man Change-Id: Ide2b356d0944ebde34cc96c6d5a782655bd72288 Signed-off-by: Roger Shimizu <rosh@debian.org> Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/309782 Reviewed-by: Mike Frysinger <vapier@google.com>
Diffstat (limited to 'man/repo-list.1')
-rw-r--r--man/repo-list.157
1 files changed, 57 insertions, 0 deletions
diff --git a/man/repo-list.1 b/man/repo-list.1
new file mode 100644
index 00000000..a86315ae
--- /dev/null
+++ b/man/repo-list.1
@@ -0,0 +1,57 @@
1.\" DO NOT MODIFY THIS FILE! It was generated by help2man.
2.TH REPO "1" "July 2021" "repo list" "Repo Manual"
3.SH NAME
4repo \- repo list - manual page for repo list
5.SH SYNOPSIS
6.B repo
7\fI\,list \/\fR[\fI\,-f\/\fR] [\fI\,<project>\/\fR...]
8.SH DESCRIPTION
9Summary
10.PP
11List projects and their associated directories
12.PP
13repo list [\-f] \fB\-r\fR str1 [str2]...
14.SH OPTIONS
15.TP
16\fB\-h\fR, \fB\-\-help\fR
17show this help message and exit
18.TP
19\fB\-r\fR, \fB\-\-regex\fR
20filter the project list based on regex or wildcard
21matching of strings
22.TP
23\fB\-g\fR GROUPS, \fB\-\-groups\fR=\fI\,GROUPS\/\fR
24filter the project list based on the groups the
25project is in
26.TP
27\fB\-a\fR, \fB\-\-all\fR
28show projects regardless of checkout state
29.TP
30\fB\-f\fR, \fB\-\-fullpath\fR
31display the full work tree path instead of the
32relative path
33.TP
34\fB\-n\fR, \fB\-\-name\-only\fR
35display only the name of the repository
36.TP
37\fB\-p\fR, \fB\-\-path\-only\fR
38display only the path of the repository
39.SS Logging options:
40.TP
41\fB\-v\fR, \fB\-\-verbose\fR
42show all output
43.TP
44\fB\-q\fR, \fB\-\-quiet\fR
45only show errors
46.PP
47Run `repo help list` to view the detailed manual.
48.SH DETAILS
49.PP
50List all projects; pass '.' to list the project for the cwd.
51.PP
52By default, only projects that currently exist in the checkout are shown. If you
53want to list all projects (using the specified filter settings), use the \fB\-\-all\fR
54option. If you want to show all projects regardless of the manifest groups, then
55also pass \fB\-\-groups\fR all.
56.PP
57This is similar to running: repo forall \fB\-c\fR 'echo "$REPO_PATH : $REPO_PROJECT"'.