- commit
- f58f2f67b1f9be855d199434db9a684069891b9b
- parent
- f94d4b8906dcb3d69bcc0d07cde2f8aa27f7a9f6
- Author
- Tobias Bengfort <tobias.bengfort@gmx.net>
- Date
- 2015-05-22 12:54
improve cli doc
Diffstat
| M | cctool.py | 13 | +++++++------ |
1 files changed, 7 insertions, 6 deletions
diff --git a/cctool.py b/cctool.py
@@ -23,12 +23,12 @@ dates from an addressbook and a calendar. 23 23 24 24 While each item is a generic MultiDict, there are typically two usecases: 25 2526 -1 - A *person* with the possible fields 'name', 'nick', 'bday', 'email',27 -1 'address_lines', 'city', 'state', 'zip', 'country', 'phone', 'workphone',28 -1 'mobile', 'xmpp', 'icq', 'msn', 'twitter', and 'pgp'.-1 26 - A *person* with the possible fields 'name', 'nick', 'bday', 'email', -1 27 'address_lines', 'city', 'state', 'zip', 'country', 'phone', 'workphone', -1 28 'mobile', 'xmpp', 'icq', 'msn', 'twitter', and 'pgp'. 29 2930 -1 - An *event* with the possible fields 'description', 'location', 'summary',31 -1 'dtend', 'dtstart', and 'freq'.-1 30 - An *event* with the possible fields 'description', 'location', 'summary', -1 31 'dtend', 'dtstart', and 'freq'. 32 32 33 33 In addition, each item may have the generic fields 'tag', 'comment', and 'url'. 34 34 """ @@ -452,7 +452,8 @@ class Pickle(Format): 452 452 def parse_args(argv=None): 453 453 informats, outformats = formats() 454 454455 -1 parser = argparse.ArgumentParser(description=__doc__)-1 455 parser = argparse.ArgumentParser(description=__doc__, -1 456 formatter_class=argparse.RawTextHelpFormatter) 456 457 parser.add_argument('--from', '-f', choices=list(informats.keys()), 457 458 metavar='FORMAT', dest='informat') 458 459 parser.add_argument('--to', '-t', choices=list(outformats.keys()),