myPIM

Check-in [8c5b973784]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Fix usage for new "nm"
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | master | trunk
Files: files | file ages | folders
SHA3-256:8c5b9737840e05948fdfded6d7bbffaa0bce571bbd29d5a450bd327453009b03
User & Date: ajv-899-334-8894@vsta.org 2008-11-23 05:38:25
Context
2009-04-29
16:12
Fix invocation of self.years() check-in: a61c3646a8 user: ajv-899-334-8894@vsta.org tags: master, trunk
2008-11-23
05:38
Fix usage for new "nm" check-in: 8c5b973784 user: ajv-899-334-8894@vsta.org tags: master, trunk
05:36
Get rid of strptime check-in: 7f37f2be8b user: ajv-899-334-8894@vsta.org tags: master, trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to mm.py.

49
50
51
52
53
54
55

56
57
58
59
60
61
62
def usage():
    w("Usage is: %s <op> <args>\n<op> can be:\n" % (sys.argv[0]))
    w(" /\t\tSearch names\n //\t\tSearch all fields of people\n")
    w(" d [<date>]\tSummarize date (or today)\n")
    w(" w [<date>]\tSummarize week containing date (or today)\n")
    w(" m [<date>]\tSummarize month containing date (or today)\n")
    w(" nw\t\tSummarize next week\n")

    sys.exit(1)

# Process arguments, run an operation
def proc(args):
    # Decode op
    op = args[1]
    if op == "/":







>







49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
def usage():
    w("Usage is: %s <op> <args>\n<op> can be:\n" % (sys.argv[0]))
    w(" /\t\tSearch names\n //\t\tSearch all fields of people\n")
    w(" d [<date>]\tSummarize date (or today)\n")
    w(" w [<date>]\tSummarize week containing date (or today)\n")
    w(" m [<date>]\tSummarize month containing date (or today)\n")
    w(" nw\t\tSummarize next week\n")
    w(" nm\t\tSummarize next month\n")
    sys.exit(1)

# Process arguments, run an operation
def proc(args):
    # Decode op
    op = args[1]
    if op == "/":