Changeset 349:4a23a0617b2f in finroc_tools_gui-java
- Timestamp:
- 14.07.2019 14:16:35 (4 years ago)
- Branch:
- default
- Phase:
- public
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
help.txt
r342 r349 11 11 (same syntax as many other Linux GUI applications; 12 12 WIDTH, HEIGHT, X, and Y are all optional) 13 --log-config=<value> Log config file 13 14 --connect=<address> Connects with the specified address using the default 14 15 connection type stored in the specified .fingui file -
util/CommonCommandLineOptions.java
r343 r349 40 40 */ 41 41 public boolean handles(String option) { 42 return option.startsWith(GEOMETRY_OPTION_STRING) ;42 return option.startsWith(GEOMETRY_OPTION_STRING) || option.startsWith(LOG_CONFIG_OPTION_STRING); 43 43 } 44 44 … … 73 73 throw new Exception("Invalid GEOMETRY string '" + s + "'"); 74 74 } 75 } else if (option.startsWith(LOG_CONFIG_OPTION_STRING)) { 76 String s = option.substring(LOG_CONFIG_OPTION_STRING.length()); 77 org.rrlib.logging.LogDomainRegistry.getInstance().configureFromFile(s); 75 78 } 76 79 } … … 100 103 101 104 private final static String GEOMETRY_OPTION_STRING = "--geometry="; 105 private final static String LOG_CONFIG_OPTION_STRING = "--log-config="; 102 106 103 107 /** Values regarding window geometry; they are != null if specified on the command line */
Note: See TracChangeset
for help on using the changeset viewer.