From 42f7deae06d5a68d8751c7d279cf6cd27a6b5c3d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philipp=20Gill=C3=A9?= Date: Fri, 10 Nov 2023 01:03:05 +0100 Subject: [PATCH] Update man page to use changed flag for string literals (#279) * Update man page to use changed flag for string literals * Update corresponding place in `cargo-xtask` task --------- Co-authored-by: Cosmic Horror --- gen/sd.1 | 2 +- xtask/src/gen.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gen/sd.1 b/gen/sd.1 index 3e9b717..58d6c90 100644 --- a/gen/sd.1 +++ b/gen/sd.1 @@ -70,7 +70,7 @@ The program panicked. .SH EXAMPLES .TP String\-literal mode -\fB$ echo \*(Aqlots((([]))) of special chars\*(Aq | sd \-s \*(Aq((([])))\*(Aq\fR +\fB$ echo \*(Aqlots((([]))) of special chars\*(Aq | sd \-F \*(Aq((([])))\*(Aq\fR .br lots of special chars .TP diff --git a/xtask/src/gen.rs b/xtask/src/gen.rs index 3617536..bfd9073 100644 --- a/xtask/src/gen.rs +++ b/xtask/src/gen.rs @@ -59,7 +59,7 @@ fn gen_man(base_dir: &Path) { // (description, command, result), result can be empty ( "String-literal mode", - "echo 'lots((([]))) of special chars' | sd -s '((([])))'", + "echo 'lots((([]))) of special chars' | sd -F '((([])))'", "lots of special chars", ), (