Gentoo Archives: gentoo-portage-dev

From: Brian Dolbec <dolsen@g.o>
To: gentoo-portage-dev@l.g.o
Subject: [gentoo-portage-dev] [PATCH] emaint.1: Update man page for better clarity
Date: Sun, 01 Mar 2015 00:12:17
Message-Id: 1425168716-26281-1-git-send-email-dolsen@gentoo.org
1 As recommended by Duncan on the gentoo-portage-dev list.
2 Clarify the all command.
3 Add OPTIONS to all commands, so a user can determine which modules
4 may run when the 'all' command is used.
5 Remove repetitive '(* command only)' text by adding it to the section header.
6 ---
7 man/emaint.1 | 43 ++++++++++++++++++++++++++++++-------------
8 1 file changed, 30 insertions(+), 13 deletions(-)
9
10 diff --git a/man/emaint.1 b/man/emaint.1
11 index c97945f..f4348b4 100644
12 --- a/man/emaint.1
13 +++ b/man/emaint.1
14 @@ -12,75 +12,92 @@ management health checks and maintenance.
15 .SH COMMANDS
16 .TP
17 .BR all
18 -Perform all supported commands.
19 +Perform all supported commands that accept the specified option.
20 .TP
21 .BR binhost
22 Generate a metadata index for binary packages located in \fBPKGDIR\fR (for
23 download by remote clients). See the \fBPORTAGE_BINHOST\fR documentation in
24 the \fBmake.conf\fR(5) man page for additional information.
25 +.br
26 +OPTIONS: check, fix
27 .TP
28 .BR cleanconfig
29 Discard no longer installed config tracker entries.
30 +.br
31 +OPTIONS: check, fix
32 .TP
33 .BR cleanresume
34 Discard merge lists saved for the \fBemerge\fR(1) \fB--resume\fR action.
35 +.br
36 +OPTIONS: check, fix
37 .TP
38 .BR logs
39 Clean out old logs from the \fBPORT_LOGDIR\fR using the command
40 \fBPORT_LOGDIR_CLEAN\fR
41 See the \fBmake.conf\fR(5) man page for additional information as well as
42 enabling the \fB'clean-logs'\fR feature in emerge to do this automatically.
43 +.br
44 +OPTIONS: check','clean
45 .TP
46 .BR merges
47 Scan for failed package merges and attempt to fix those failed packages.
48 +.br
49 +OPTIONS: check, fix, purge
50 .TP
51 .BR movebin
52 Perform package move updates for binary packages located in \fBPKGDIR\fR.
53 +.br
54 +OPTIONS: check, fix
55 .TP
56 .BR moveinst
57 Perform package move updates for installed packages.
58 +.br
59 +OPTIONS: check, fix
60 .TP
61 .BR sync
62 Perform sync actions on specified repositories.
63 +.br
64 +OPTIONS: allrepos, auto, repo
65 .TP
66 .BR world
67 Fix problems in the \fIworld\fR file.
68 -.SH DEFAULT OPTIONS
69 +.br
70 +OPTIONS: check, fix
71 +.SH DEFAULT OPTIONS (Not supported in all commands)
72 .TP
73 .B \-c, \-\-check
74 -Check for any problems that may exist. (all commands)
75 +Check for any problems that may exist.
76 .TP
77 .B \-f, \-\-fix
78 -Fix any problems that may exist. (not all commands)
79 -.SH OPTIONS logs command
80 +Fix any problems that may exist.
81 +.SH OPTIONS logs command only
82 .TP
83 .B \-C, \-\-clean
84 -Cleans the logs from \fBPORT_LOGDIR\fR (logs command only)
85 +Cleans the logs from \fBPORT_LOGDIR\fR
86 .TP
87 .B \-p, \-\-pretend
88 Sets pretend mode (same as \-c, \-\-check) for use with the \-C, \-\-clean
89 -OPTION (logs command only)
90 +OPTION
91 .TP
92 .B \-t NUM, \-\-time NUM
93 Changes the minimum age \fBNUM\fR (in days) of the logs to be listed or
94 -deleted. (logs command only)
95 -.SH OPTIONS sync command
96 +deleted.
97 +.SH OPTIONS sync command only
98 .TP
99 .B \-a, \-\-auto
100 -Sync repositories which have its auto\-sync setting set yes, true. (sync command only)
101 +Sync repositories which have its auto\-sync setting set yes, true.
102 .TP
103 .B \-A, \-\-allrepos
104 -Sync all repositories which have a sync\-uri specified. (sync command only)
105 +Sync all repositories which have a sync\-uri specified.
106 .TP
107 .B \-r, \-\-repo REPO
108 -Sync the repository specified. (sync command only)
109 +Sync the repository specified.
110 .TP
111 .BR "\-\-sync-submodule <glsa|news|profiles>"
112 Restrict sync to the specified submodule(s). This option may be
113 specified multiple times, in order to sync multiple submodules.
114 Currently, this option has no effect for sync protocols other
115 than rsync.
116 -(sync command only)
117 .SH "REPORTING BUGS"
118 Please report bugs via http://bugs.gentoo.org/
119 .SH AUTHORS
120 --
121 2.3.0

Replies