pistepirkko/tests/command-line-pattern-diagnostics.transcript
Juhani Krekelä 4c868cbbd3 Make error handling more generic
Instead of per-scope bespoke onerror and onwarning functions, thread a
generic diagnostic callback, and allow wrappers to more declaratively
modify or add information as the diagnostic makes its way out of the
systems.
2026-03-22 19:05:49 +02:00

16 lines
711 B
Text

#stderr: pistepirkko: warning: "~" has no special meaning in patterns
#stderr: --include argument: [~]foo
#stderr:
#stderr: pistepirkko: error: .. is not allowed in patterns.
#stderr: --exclude argument: foo/[..]/bar
#stderr:
#stderr: pistepirkko: error: Location of the dotfiles to manage is not defined
#stderr: note: Use --under or set "under" in the configuration file.
#stderr:
#stderr: pistepirkko: error: The location of the dotfile repository is not defined
#stderr: note: Use --repo or set "repo" in the configuration file.
#stderr:
#stderr: pistepirkko: error: No categories selected for testhost
#stderr: note: Use --categories or set "categories" in the configuration file.
#stderr: