You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 18, 2019. It is now read-only.
parser.add_option("--with-html", help="Generate an HTML report with all SVG-files", action="store_true", dest="with_html", default=False)
1196
1198
parser.add_option("--with-invisible-text", action="store_true", help="Includes invisible text containing the original text and bounding box, for debugging purposes", dest="includeInvisibleText", default=False)
1197
1199
parser.add_option("--output-dir", help="Directory to generate SVG-files in", type="string", dest="output_dir", default=os.path.abspath('ModelicaIcons'))
1198
1200
parser.add_option("--warn-dup", help="Warn about duplicate files instead of generating an error", action="store_true", dest="warn_duplicates", default=False)
1199
1201
parser.add_option("--with-json", help="Output icon annotation as json", action="store_true", dest="with_json", default=False)
1202
+
parser.add_option("--with-subdirs", help="Output hashed icon files in subdirs", action="store_true", dest="use_subdirs", default=False)
1200
1203
parser.add_option("--quiet", help="Do not output to the console", action="store_true", dest="quiet", default=False)
1201
1204
(options, args) =parser.parse_args()
1202
1205
iflen(args) ==0:
@@ -1208,6 +1211,7 @@ def main():
1208
1211
includeInvisibleText=options.includeInvisibleText
1209
1212
warn_duplicates=options.warn_duplicates
1210
1213
with_json=options.with_json
1214
+
use_subdirs=options.use_subdirs
1211
1215
1212
1216
# create logger with 'spam_application'
1213
1217
globallogger
@@ -1238,11 +1242,18 @@ def main():
1238
1242
logger.info('Output directory: '+output_dir)
1239
1243
print("%s Generating SVGs for package(s) %s"% (datetime.datetime.now(),PACKAGES_TO_GENERATE))
0 commit comments