aboutsummaryrefslogtreecommitdiff
blob: 82accad8fbc49ba53ffb8694f383383c9a877d1a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/env python3

import os
import sys

def main(argv):
	if len(argv) != 1:
		print(
			"%s expects exactly one argument but %s were given!"
			% (os.path.basename(__file__), len(argv)),
			file=sys.stderr
		)
		sys.exit(1)

	print(os.path.expanduser(argv[0]))

if __name__ == "__main__":
	main(sys.argv[1:])