From owner-cvs-src@FreeBSD.ORG Tue May 20 12:24:32 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3FBB6106567A; Tue, 20 May 2008 12:24:32 +0000 (UTC) (envelope-from pjd@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 181978FC22; Tue, 20 May 2008 12:24:32 +0000 (UTC) (envelope-from pjd@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m4KCOVZp020708; Tue, 20 May 2008 12:24:31 GMT (envelope-from pjd@repoman.freebsd.org) Received: (from pjd@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m4KCOVFQ020707; Tue, 20 May 2008 12:24:31 GMT (envelope-from pjd) Message-Id: <200805201224.m4KCOVFQ020707@repoman.freebsd.org> From: Pawel Jakub Dawidek Date: Tue, 20 May 2008 12:24:31 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sbin/swapon Makefile swapon.8 swapon.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 May 2008 12:24:32 -0000 pjd 2008-05-20 12:24:31 UTC FreeBSD src repository Modified files: sbin/swapon Makefile swapon.8 swapon.c Log: - Change the meaning of -h flag from giving the output in megabytes to giving the output in a human-readable form. This behaviour is consistent with most of system tools. - Add -m and -g options to give output in megabytes and gigabytes respectively. Revision Changes Path 1.9 +3 -0 src/sbin/swapon/Makefile 1.30 +7 -3 src/sbin/swapon/swapon.8 1.23 +57 -18 src/sbin/swapon/swapon.c