diff --git a/The-VDR-Plugin-System.md b/The-VDR-Plugin-System.md index ee0f211..876feec 100644 --- a/The-VDR-Plugin-System.md +++ b/The-VDR-Plugin-System.md @@ -420,7 +420,7 @@ these arguments. As with any normal C program, the strings pointed to by arg will survive the entire lifetime of the plugin, so it is safe to store pointers to these values inside the plugin. Here's an example: -
+The return value must be true if all options have been processed correctly, or false in case of an error. The first plugin that returnsbool cPluginHello::ProcessArgs(int argc, char *argv[]) { // Implement command line argument processing here if applicable. @@ -442,7 +442,7 @@ bool cPluginHello::ProcessArgs(int argc, char *argv[]) } return true; } -+