From f3f19dad64b4a27c8112123eb1f607d83219aa17 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Mon, 3 Aug 2020 16:35:30 +0200 Subject: [PATCH] Improve :navigate strip docs --- doc/changelog.asciidoc | 4 ++-- doc/help/commands.asciidoc | 2 +- qutebrowser/browser/commands.py | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/changelog.asciidoc b/doc/changelog.asciidoc index 870abe6c2..3459dcf93 100644 --- a/doc/changelog.asciidoc +++ b/doc/changelog.asciidoc @@ -45,8 +45,8 @@ Changed - `:back` and `:forward` now take an optional index which is completed using the current tab's history. - The time a website in a tab was visited is now saved/restored in sessions. -- New command `:navigate strip` which removes queries and parameters from the - current URL. +- New argument `strip` for `:navigate` which removes queries and + fragments from the current URL. Added ~~~~~ diff --git a/doc/help/commands.asciidoc b/doc/help/commands.asciidoc index 2619a1f5b..cd4080a6a 100644 --- a/doc/help/commands.asciidoc +++ b/doc/help/commands.asciidoc @@ -866,7 +866,7 @@ This tries to automatically click on typical _Previous Page_ or _Next Page_ link Uses the link:settings{outsuffix}#url.incdec_segments[url.incdec_segments] config option. - - `strip`: Strip parameters from the current URL. + - `strip`: Strip query and fragment from the current URL. diff --git a/qutebrowser/browser/commands.py b/qutebrowser/browser/commands.py index c44050a6f..93e1d63dd 100644 --- a/qutebrowser/browser/commands.py +++ b/qutebrowser/browser/commands.py @@ -587,7 +587,7 @@ class CommandDispatcher: Uses the link:settings{outsuffix}#url.incdec_segments[url.incdec_segments] config option. - - `strip`: Strip parameters from the current URL. + - `strip`: Strip query and fragment from the current URL. tab: Open in a new tab. bg: Open in a background tab.