Skip to content

Commit 7f2d171

Browse files
committed
qtvcp -add panel/screen list to parser help print out
1 parent e68174d commit 7f2d171

1 file changed

Lines changed: 10 additions & 1 deletion

File tree

src/emc/usr_intf/qtvcp/qtvcp.py

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,8 +124,17 @@ def __init__(self):
124124
elif INIPATH:
125125
basepath = "qt_cnc"
126126
else:
127-
print(parser.print_help())
127+
parser.print_help()
128+
print("")
129+
130+
LOG.critical('Available built-in Machine Control Screens:')
131+
print(self.PATH.find_screen_dirs())
132+
print("")
133+
134+
LOG.critical('Available built-in VCP Panels:')
135+
print(self.PATH.find_panel_dirs())
128136
sys.exit(0)
137+
129138
# set paths using basename
130139
error = self.PATH.set_paths(basepath, bool(INIPATH))
131140
self.INFO.IS_SCREEN = bool(INIPATH)

0 commit comments

Comments
 (0)