1 |
commit: 46444286c8d70797964dc80dd70e42a0f2d35723 |
2 |
Author: Brian Dolbec <dolsen <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Dec 27 02:18:10 2011 +0000 |
4 |
Commit: Brian Dolbec <brian.dolbec <AT> gmail <DOT> com> |
5 |
CommitDate: Tue Dec 27 02:18:10 2011 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/layman.git;a=commit;h=46444286 |
7 |
|
8 |
improve the usage to include an example of multiple actions. |
9 |
|
10 |
--- |
11 |
layman/argsparser.py | 2 ++ |
12 |
1 files changed, 2 insertions(+), 0 deletions(-) |
13 |
|
14 |
diff --git a/layman/argsparser.py b/layman/argsparser.py |
15 |
index e1703ac..c8f3828 100644 |
16 |
--- a/layman/argsparser.py |
17 |
+++ b/layman/argsparser.py |
18 |
@@ -40,6 +40,8 @@ from layman.version import VERSION |
19 |
|
20 |
_USAGE = """ |
21 |
layman (-a|-d|-s|-i) (OVERLAY|ALL) |
22 |
+ # it also supports multiple actions |
23 |
+ layman (-a|-d|-s|-i) (OVERLAY|ALL) [ [(-a|-d|-s|-i) (OVERLAY)] ...] |
24 |
layman -f [-o URL] |
25 |
layman (-l|-L|-S)""" |