From: Ewan Mellor Subject: Re: [PATCH] xenmon: --ms_per_sample: check a negative value Date: Tue, 5 Sep 2006 17:05:46 +0100 Message-ID: <20060905160546.GM7810@leeni.uk.xensource.com> References: <20060905.135015.35717899.kuwa@jp.fujitsu.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <20060905.135015.35717899.kuwa@jp.fujitsu.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: KUWAMURA Shin'ya Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On Tue, Sep 05, 2006 at 01:50:15PM +0900, KUWAMURA Shin'ya wrote: > Hi, > > This patch adds the argument check of "--ms_per_sample=" option. For > "--ms_per_sample=", a negative value should be invalid. > > e.g. > % xenmon.py -n --ms_per_sample=-1 > usage: xenmon.py [options] > > xenmon.py: error: option --ms_per_sample: invalid negative value: '-1' > > Signed-off-by: KUWAMURA Shin'ya Applied, thanks. Ewan.