From mboxrd@z Thu Jan 1 00:00:00 1970 From: Will Deacon Subject: Re: [PATCH 1/2] Add a rudimentary manpage Date: Tue, 22 Dec 2015 15:11:13 +0000 Message-ID: <20151222151113.GI32623@arm.com> References: <1450792847-1783-1-git-send-email-andre.przywara@arm.com> <1450792847-1783-2-git-send-email-andre.przywara@arm.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: dimitri.j.ledkov@intel.com, sasha.levin@oracle.com, penberg@kernel.org, kvmarm@lists.cs.columbia.edu, kvm@vger.kernel.org To: Andre Przywara Return-path: Content-Disposition: inline In-Reply-To: <1450792847-1783-2-git-send-email-andre.przywara@arm.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: kvmarm-bounces@lists.cs.columbia.edu Sender: kvmarm-bounces@lists.cs.columbia.edu List-Id: kvm.vger.kernel.org Hi Andre, of Phoronix fame, On Tue, Dec 22, 2015 at 02:00:46PM +0000, Andre Przywara wrote: > The kvmtool documentation is somewhat lacking, also it is not easily > accessible when living in the source tree only. > Add a good ol' manpage to document at least the basic commands and > their options. > This level of documentation matches the one that is already there in > the Documentation directory and should be subject to extension. > > Signed-off-by: Andre Przywara > --- > Documentation/kvmtool.1 | 222 ++++++++++++++++++++++++++++++++++++++++++++++++ > 1 file changed, 222 insertions(+) > create mode 100644 Documentation/kvmtool.1 > > diff --git a/Documentation/kvmtool.1 b/Documentation/kvmtool.1 > new file mode 100644 > index 0000000..aecb2dc > --- /dev/null > +++ b/Documentation/kvmtool.1 > @@ -0,0 +1,222 @@ > +.\" Manpage for kvmtool > +.\" Copyright (C) 2015 by Andre Przywara > +.TH kvmtool 1 "11 Nov 2015" "0.1" "kvmtool man page" > +.SH NAME > +kvmtool \- running KVM guests > +.SH SYNOPSIS > +lkvm COMMAND [ARGS] > +.SH DESCRIPTION > +kvmtool is a userland tool for creating and controlling KVM guests. > +.SH "KVMTOOL COMMANDS" > +.sp > +.PP > +.B run -k ... You seem to be inconsistent with your synopses for each command. That is, here you just have -k ... , but later you have things like > +.B debug --all|--name [--dump] [--nmi ] [--sysrq ] which describes all of the possible options to debug. I think I prefer this latter way, so could you make all of the commands look like that, please? Will