diff options
author | Bastien Montagne <mont29> | 2021-03-12 17:38:31 +0300 |
---|---|---|
committer | Bastien Montagne <bastien@blender.org> | 2021-03-12 18:01:46 +0300 |
commit | ef5782e297449e00e5c82e025552ddfa5cd223b2 (patch) | |
tree | 9dc73c63b646ea22aeaf500d08e89c0f66e01b43 /source/creator | |
parent | bcac17196a90967b78013aefd89bf547cf8e694c (diff) |
CLOG: add support for substring matching.
So that `--log "*undo*"` matches any log identifier containing `undo`.
Reviewed By: campbellbarton
Differential Revision: https://developer.blender.org/D10647
Diffstat (limited to 'source/creator')
-rw-r--r-- | source/creator/creator_args.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/creator/creator_args.c b/source/creator/creator_args.c index 0e0d66d40a9..7316c1729f5 100644 --- a/source/creator/creator_args.c +++ b/source/creator/creator_args.c @@ -869,6 +869,8 @@ static const char arg_handle_log_set_doc[] = "\tEnable logging categories, taking a single comma separated argument.\n" "\tMultiple categories can be matched using a '.*' suffix,\n" "\tso '--log \"wm.*\"' logs every kind of window-manager message.\n" + "\tSub-string can be matched using a '*' prefix and suffix,\n" + "\tso '--log \"*undo*\"' logs every kind of undo-related message.\n" "\tUse \"^\" prefix to ignore, so '--log \"*,^wm.operator.*\"' logs all except for " "'wm.operators.*'\n" "\tUse \"*\" to log everything."; |