From mboxrd@z Thu Jan  1 00:00:00 1970
Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org)
	by finch.gentoo.org with esmtp (Exim 4.60)
	(envelope-from <gentoo-commits+bounces-412479-garchives=archives.gentoo.org@lists.gentoo.org>)
	id 1RfMer-0002CC-M6
	for garchives@archives.gentoo.org; Tue, 27 Dec 2011 02:20:53 +0000
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 8E37321C0DE;
	Tue, 27 Dec 2011 02:20:45 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183])
	by pigeon.gentoo.org (Postfix) with ESMTP id 5B0DD21C0DE
	for <gentoo-commits@lists.gentoo.org>; Tue, 27 Dec 2011 02:20:45 +0000 (UTC)
Received: from pelican.gentoo.org (unknown [66.219.59.40])
	(using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id C0E601B4022
	for <gentoo-commits@lists.gentoo.org>; Tue, 27 Dec 2011 02:20:44 +0000 (UTC)
Received: from localhost.localdomain (localhost [127.0.0.1])
	by pelican.gentoo.org (Postfix) with ESMTP id B9BF580043
	for <gentoo-commits@lists.gentoo.org>; Tue, 27 Dec 2011 02:20:43 +0000 (UTC)
From: "Brian Dolbec" <brian.dolbec@gmail.com>
To: gentoo-commits@lists.gentoo.org
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Brian Dolbec" <brian.dolbec@gmail.com>
Message-ID: <46444286c8d70797964dc80dd70e42a0f2d35723.dol-sen@gentoo>
Subject: [gentoo-commits] proj/layman:master commit in: layman/
X-VCS-Repository: proj/layman
X-VCS-Files: layman/argsparser.py
X-VCS-Directories: layman/
X-VCS-Committer: dol-sen
X-VCS-Committer-Name: Brian Dolbec
X-VCS-Revision: 46444286c8d70797964dc80dd70e42a0f2d35723
Date: Tue, 27 Dec 2011 02:20:43 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: quoted-printable
X-Archives-Salt: 6e9d1382-b4c3-4610-bd23-c06a7470d478
X-Archives-Hash: 1d37081d01b695118dc54681c12e1bd6

commit:     46444286c8d70797964dc80dd70e42a0f2d35723
Author:     Brian Dolbec <dolsen <AT> gentoo <DOT> org>
AuthorDate: Tue Dec 27 02:18:10 2011 +0000
Commit:     Brian Dolbec <brian.dolbec <AT> gmail <DOT> com>
CommitDate: Tue Dec 27 02:18:10 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=3Dproj/layman.git;a=3D=
commit;h=3D46444286

improve the usage to include an example of multiple actions.

---
 layman/argsparser.py |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/layman/argsparser.py b/layman/argsparser.py
index e1703ac..c8f3828 100644
--- a/layman/argsparser.py
+++ b/layman/argsparser.py
@@ -40,6 +40,8 @@ from layman.version import VERSION
=20
 _USAGE =3D """
   layman (-a|-d|-s|-i) (OVERLAY|ALL)
+  # it also supports multiple actions
+  layman (-a|-d|-s|-i) (OVERLAY|ALL) [ [(-a|-d|-s|-i) (OVERLAY)] ...]
   layman -f [-o URL]
   layman (-l|-L|-S)"""
=20