Project

General

Profile

« Previous | Next » 

Revision 338

bin/map: Print usage message when run with no arguments

View differences:

map
43 43
    map_path = None
44 44
    try: _prog_name, map_path = sys.argv
45 45
    except ValueError:
46
        if in_is_db: usage_err()
46
        if in_is_db or not out_is_db: usage_err()
47 47
    
48 48
    # Load map header
49 49
    in_is_xpaths = True

Also available in: Unified diff