MCPcopy Create free account
hub / github.com/MapServer/MapServer / usage

Function usage

mapscript/python/examples/shpdump.py:14–17  ·  view source on GitHub ↗

Display usage if program is used incorrectly.

()

Source from the content-addressed store, hash-verified

12
13# Utility functions.
14def usage():
15 """ Display usage if program is used incorrectly. """
16 print "Syntax: %s base_filename" % sys.argv[0]
17 sys.exit(2)
18
19def plural(x):
20 """ Returns an 's' if plural.

Callers 10

shpdump.pyFile · 0.70
MainMethod · 0.50
MainMethod · 0.50
MainMethod · 0.50
MainMethod · 0.50
MainMethod · 0.50
MainMethod · 0.50
MainMethod · 0.50
MainMethod · 0.50
MainMethod · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected