mirror of
https://gitlab.com/scemama/irpf90.git
synced 2024-12-30 16:15:41 +01:00
18 lines
301 B
Python
Executable File
18 lines
301 B
Python
Executable File
#!/usr/bin/python
|
|
|
|
import os
|
|
import sys
|
|
|
|
wd = os.path.abspath(os.path.dirname(__file__))
|
|
wd += "/../src/"
|
|
sys.path.append(wd)
|
|
|
|
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")
|
|
|