From owner-svn-src-stable@FreeBSD.ORG Thu Feb 26 19:37:49 2009 Return-Path: Delivered-To: svn-src-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 75AEA106564A; Thu, 26 Feb 2009 19:37:49 +0000 (UTC) (envelope-from owner-svn-src-all@freebsd.org) Received: from forwards1.yandex.ru (forwards1.yandex.ru [77.88.60.125]) by mx1.freebsd.org (Postfix) with ESMTP id 07D958FC19; Thu, 26 Feb 2009 19:37:49 +0000 (UTC) (envelope-from owner-svn-src-all@freebsd.org) Received: from mxfront57.yandex.ru (mxfront57.yandex.ru [77.88.60.150]) by forwards1.yandex.ru (Yandex) with ESMTP id 46A6ED06B9; Thu, 26 Feb 2009 22:35:30 +0300 (MSK) Received: from mx2.freebsd.org ([69.147.83.53]:60145 "EHLO mx2.freebsd.org" smtp-auth: TLS-CIPHER: TLS-PEER-CN1: ) by mail.yandex.ru with ESMTP id S11109642AbZBZSqv for (+ 3 others); Thu, 26 Feb 2009 21:46:51 +0300 X-Yandex-TimeMark: 1235674011 X-Yandex-Spam: 2 X-Yandex-Front: mxfront57 Received: from hub.freebsd.org (hub.freebsd.org [IPv6:2001:4f8:fff6::36]) by mx2.freebsd.org (Postfix) with ESMTP id E16A21A7148; Thu, 26 Feb 2009 18:46:36 +0000 (UTC) (envelope-from owner-svn-src-all@freebsd.org) Received: from hub.freebsd.org (localhost [127.0.0.1]) by hub.freebsd.org (Postfix) with ESMTP id 7F9FE106570A; Thu, 26 Feb 2009 18:46:36 +0000 (UTC) (envelope-from owner-svn-src-all@freebsd.org) Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5B18810656CB; Thu, 26 Feb 2009 18:46:22 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 48A0B8FC17; Thu, 26 Feb 2009 18:46:22 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id n1QIkMhY035220; Thu, 26 Feb 2009 18:46:22 GMT (envelope-from jhb@svn.freebsd.org) Received: (from jhb@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id n1QIkMZp035219; Thu, 26 Feb 2009 18:46:22 GMT (envelope-from jhb@svn.freebsd.org) Message-Id: <200902261846.n1QIkMZp035219@svn.freebsd.org> From: John Baldwin Date: Thu, 26 Feb 2009 18:46:22 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-7@freebsd.org X-SVN-Group: stable-7 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Sender: owner-svn-src-all@freebsd.org Errors-To: owner-svn-src-all@freebsd.org Cc: Subject: svn commit: r189079 - stable/7/usr.sbin/pciconf X-BeenThere: svn-src-stable@freebsd.org List-Id: SVN commit messages for all the -stable branches of the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Feb 2009 19:37:50 -0000 Author: jhb Date: Thu Feb 26 18:46:22 2009 New Revision: 189079 URL: http://svn.freebsd.org/changeset/base/189079 Log: MFC: Sort getopt options alphabetically. Modified: stable/7/usr.sbin/pciconf/ (props changed) stable/7/usr.sbin/pciconf/pciconf.c Modified: stable/7/usr.sbin/pciconf/pciconf.c ============================================================================== --- stable/7/usr.sbin/pciconf/pciconf.c Thu Feb 26 18:01:07 2009 (r189078) +++ stable/7/usr.sbin/pciconf/pciconf.c Thu Feb 26 18:46:22 2009 (r189079) @@ -97,16 +97,24 @@ main(int argc, char **argv) listmode = readmode = writemode = attachedmode = caps = verbose = byte = isshort = 0; - while ((c = getopt(argc, argv, "aclrwbhv")) != -1) { + while ((c = getopt(argc, argv, "abchlrwv")) != -1) { switch(c) { case 'a': attachedmode = 1; break; + case 'b': + byte = 1; + break; + case 'c': caps = 1; break; + case 'h': + isshort = 1; + break; + case 'l': listmode = 1; break; @@ -119,14 +127,6 @@ main(int argc, char **argv) writemode = 1; break; - case 'b': - byte = 1; - break; - - case 'h': - isshort = 1; - break; - case 'v': verbose = 1; break; _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org"