From ce9b6e52500a0ea0ec48f0bbf6d7a3e431d9dfa4 Mon Sep 17 00:00:00 2001 From: Anton Tetov Date: Wed, 25 Feb 2026 14:55:50 +0100 Subject: [PATCH] difftastic: fix example: s/sort-path/sort-paths/ Fixed the example, I realized it was wrong since I copied it and got an error: ``` $ difft --sort-path error: unexpected argument '--sort-path' found tip: a similar argument exists: '--sort-paths' ``` The option is documented in `difft --help` and implemented in `difftastic/src/options.rs`. https://github.com/Wilfred/difftastic/blob/7d8175dccfdde3a9046acd389980f7240ca58d96/src/options.rs#L375 It's used correctly in the jujutsu submodule at the end of this file. --- modules/programs/difftastic.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/programs/difftastic.nix b/modules/programs/difftastic.nix index c703fd42..f3997f53 100644 --- a/modules/programs/difftastic.nix +++ b/modules/programs/difftastic.nix @@ -75,7 +75,7 @@ in default = { }; example = { color = "dark"; - sort-path = true; + sort-paths = true; tab-width = 8; }; description = "Configuration options for {command}`difftastic`. See {command}`difft --help`";