From 0aa21440d124fbc54a5391732ef8777560d2e96c Mon Sep 17 00:00:00 2001 From: Fabian Boehm Date: Thu, 24 Aug 2023 18:06:03 +0200 Subject: [PATCH] docs/path: Remove incorrect status comments During development, for a while `path change-extension` would return 0 when it found an extension to change. This was later changed to returning 0 if there are any path arguments. Neither of which is *super* useful, I admit, but we've picked one and the docs shouldn't contradict it. --- doc_src/cmds/path.rst | 4 ---- 1 file changed, 4 deletions(-) diff --git a/doc_src/cmds/path.rst b/doc_src/cmds/path.rst index bf764839c..ff819af92 100644 --- a/doc_src/cmds/path.rst +++ b/doc_src/cmds/path.rst @@ -365,19 +365,15 @@ Examples >_ path change-extension '' ../banana ../banana - # but status 1, because there was no extension. >_ path change-extension '' ~/.config /home/alfa/.config - # status 1 >_ path change-extension '' ~/.config.d /home/alfa/.config - # status 0 >_ path change-extension '' ~/.config. /home/alfa/.config - # status 0 "sort" subcommand -----------------------------