diff options
author | Philipp Gillé <philippgille@users.noreply.github.com> | 2023-11-10 01:03:05 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-09 18:03:05 -0600 |
commit | 42f7deae06d5a68d8751c7d279cf6cd27a6b5c3d (patch) | |
tree | ad73fbb4a35a05ce5da0c02b21330fcdf5052f8e | |
parent | eb51bdf11e8bde87e9d983730209c7a147e39fb0 (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.1 | 2 | ||||
-rw-r--r-- | xtask/src/gen.rs | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -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", ), ( |