Просмотр исходного кода

Added missing help text for the new parameter

Jørn Sandvik Nilsson 10 лет назад
Родитель
Сommit
7976c7a68a
1 измененных файлов с 3 добавлено и 2 удалено
  1. 3 2
      FlatCAMApp.py

+ 3 - 2
FlatCAMApp.py

@@ -2429,13 +2429,14 @@ class App(QtCore.QObject):
             'drillcncjob': {
             'drillcncjob': {
                 'fcn': drillcncjob,
                 'fcn': drillcncjob,
                 'help': "Drill CNC job.\n" +
                 'help': "Drill CNC job.\n" +
-                        "> drillcncjob <name> -tools <str> -drillz <float> -travelz <float> -feedrate <float> -outname <str> \n" +
+                        "> drillcncjob <name> -tools <str> -drillz <float> -travelz <float> -feedrate <float> -outname <str> [-toolchange (int)] \n" +
                         "   name: Name of the object\n" +
                         "   name: Name of the object\n" +
                         "   tools: Comma separated indexes of tools (example: 1,3 or 2)\n" +
                         "   tools: Comma separated indexes of tools (example: 1,3 or 2)\n" +
                         "   drillz: Drill depth into material (example: -2.0)\n" +
                         "   drillz: Drill depth into material (example: -2.0)\n" +
                         "   travelz: Travel distance above material (example: 2.0)\n" +
                         "   travelz: Travel distance above material (example: 2.0)\n" +
                         "   feedrate: Drilling feed rate\n" +
                         "   feedrate: Drilling feed rate\n" +
-                        "   outname: Name of object to create\n"
+                        "   outname: Name of object to create\n" +
+                        "   toolchange: Enable tool changes (example: 1)\n"
             },
             },
             'scale': {
             'scale': {
                 'fcn': lambda name, factor: self.collection.get_by_name(str(name)).scale(float(factor)),
                 'fcn': lambda name, factor: self.collection.get_by_name(str(name)).scale(float(factor)),