diff --git a/framework/pluginapi/pflags.go b/framework/pluginapi/pflags.go
index <HASH>..<HASH> 100644
--- a/framework/pluginapi/pflags.go
+++ b/framework/pluginapi/pflags.go
@@ -86,5 +86,5 @@ func AddConfigPFlagPtr(fset *pflag.FlagSet, config *string) {
 	if config == nil {
 		return
 	}
-	fset.String(ConfigFlagName, "", "path to the plugin configuration file")
+	fset.StringVar(config, ConfigFlagName, "", "path to the plugin configuration file")
 }
Fix AddConfigPFlag functions (#<I>)

Fixes bug that caused ConfigFlagName flags to not be added properly.