mirror of
https://gitlab.com/scemama/irpf90.git
synced 2024-11-08 23:23:44 +01:00
18 lines
347 B
Python
Executable File
18 lines
347 B
Python
Executable File
#!/usr/bin/python
|
|
|
|
import os
|
|
import sys
|
|
|
|
wd = os.path.abspath(os.path.dirname(__file__))
|
|
sys.path.insert(0,(wd+"/../src/"))
|
|
sys.path.insert(0,(wd+"/../share/irpf90/src/"))
|
|
|
|
if len(sys.argv) != 2:
|
|
print "Usage:"
|
|
print sys.argv[0]+" <irp_variable>"
|
|
sys.exit(1)
|
|
|
|
from irpf90_t import mandir
|
|
os.system("man ./"+mandir+sys.argv[1].lower()+".l")
|
|
|