From 19aebebb95a406135ebce6240ffeb203283de5c4 Mon Sep 17 00:00:00 2001 From: Johannes Altmanninger Date: Sun, 9 Jan 2022 09:23:29 +0100 Subject: [PATCH] math.rst: remove stray mention of -- separator from synopsis The -- is not special here and we don't mention it in other synopses. It was originally added for a good reason in 98449fec5 (fix `math` regression, 2017-07-14), along this addition to math.rst: > You should always place a `--` flag separator before the expression. [...] However, since 56d913453 (Cache math expressions, 2017-08-24) that line was changed to > You don't need to use `--` before the expression even if it begins with a minus sign [...] --- doc_src/cmds/math.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc_src/cmds/math.rst b/doc_src/cmds/math.rst index 5f64fa563..8553e37d6 100644 --- a/doc_src/cmds/math.rst +++ b/doc_src/cmds/math.rst @@ -6,7 +6,7 @@ math - perform mathematics calculations Synopsis -------- -``math`` [**-s** | **--scale** *N*] [**-b** | **--base** *BASE*] [--] *EXPRESSION...* +``math`` [**-s** | **--scale** *N*] [**-b** | **--base** *BASE*] *EXPRESSION...* Description