summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhilipp Gillé <philippgille@users.noreply.github.com>2023-11-10 01:03:05 +0100
committerGitHub <noreply@github.com>2023-11-09 18:03:05 -0600
commit42f7deae06d5a68d8751c7d279cf6cd27a6b5c3d (patch)
treead73fbb4a35a05ce5da0c02b21330fcdf5052f8e
parenteb51bdf11e8bde87e9d983730209c7a147e39fb0 (diff)
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 <CosmicHorrorDev@pm.me>
-rw-r--r--gen/sd.12
-rw-r--r--xtask/src/gen.rs2
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",
),
(