From 2af9365ab632c0a17dc26a77da92732641701b96 Mon Sep 17 00:00:00 2001 From: Dongdong Tian Date: Tue, 19 May 2026 21:03:17 +0800 Subject: [PATCH] legend: Clarify the behavior of -M option --- doc/rst/source/legend.rst | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/doc/rst/source/legend.rst b/doc/rst/source/legend.rst index 2ea5eea6b2f..09624cd21d8 100644 --- a/doc/rst/source/legend.rst +++ b/doc/rst/source/legend.rst @@ -118,9 +118,13 @@ Optional Arguments - **e**: Explicitly given information from input file(s) given on the command line (or via standard input). - Default is **he**, meaning we will first place any hidden auto-generated legend items (if any) - and then we append the explicitly given information (if present). **Note**: For classic - mode an input file must be given or else we will attempt read from standard input. + If **-M** is not given, we will use the input file if provided, otherwise we will + use the auto-generated legend information if it exists. + + If **-M** is given without any directives, the default is **he**, meaning we will first + place any hidden auto-generated legend items (if any) and then we append the explicitly + given information (if present). **Note**: For classic mode an input file must be given + or else we will attempt read from standard input. .. |Add_-R| replace:: |Add_-R_links| .. include:: explain_-R.rst_