blob: a271448e914e0eb1a94d47887f3c7521c6f48f58 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
#!/usr/bin/env python
# **********************************************************************
#
# Copyright (c) 2003-2014 ZeroC, Inc. All rights reserved.
#
# This copy of Ice is licensed to you under the terms described in the
# ICE_LICENSE file included in this distribution.
#
# **********************************************************************
import os, sys
sys.path.append(os.path.join(os.path.dirname(__file__), "..", "lib"))
import FixUtil
def usage():
print "Usage: " + sys.argv[0] + " [options]"
print
print "Options:"
print "-h Show this message."
print
for x in sys.argv[1:]:
if x == "-h":
usage()
sys.exit(0)
elif x.startswith("-"):
print sys.argv[0] + ": unknown option `" + x + "'"
print
usage()
sys.exit(1)
FixUtil.fixLineEnd()
|