Skip to content

Instantly share code, notes, and snippets.

@godmar
Created August 12, 2015 17:16
Show Gist options
  • Save godmar/6ccb30916f1de9736f98 to your computer and use it in GitHub Desktop.
Save godmar/6ccb30916f1de9736f98 to your computer and use it in GitHub Desktop.
support -B option
--- a/src/problem2html.py
+++ b/src/problem2html.py
@@ -110,6 +110,8 @@ class ConvertOptions:
'set title (only used when there is no pre-existing template and -h not set).'],
['loglevel', 'store', '-L', '--log-level',
'set log level (debug, info, warning, error, critical).'],
+ ['imgbasedir', 'store', '-B', '--image-base-dir',
+ 'set image base directory'],
['quiet', 'store_true', '-q', '--quiet',
"quiet."],
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment