summaryrefslogtreecommitdiffstats
path: root/options/m_option.h
diff options
context:
space:
mode:
Diffstat (limited to 'options/m_option.h')
-rw-r--r--options/m_option.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/options/m_option.h b/options/m_option.h
index 7e6550691a..e77452af69 100644
--- a/options/m_option.h
+++ b/options/m_option.h
@@ -333,6 +333,10 @@ struct m_option {
// Initialize variable to given default before parsing options
const void *defval;
+
+ // Print a warning when this option is used (for options with no direct
+ // replacement.)
+ const char *deprecation_message;
};
@@ -394,7 +398,7 @@ struct m_option {
// Dynamic data type.
/** This flag indicates that the data is dynamically allocated (m_option::p
- * points to a pointer). It enables a little hack in the \ref Config wich
+ * points to a pointer). It enables a little hack in the \ref Config which
* replaces the initial value of such variables with a dynamic copy in case
* the initial value is statically allocated (pretty common with strings).
*/