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.