From 73bc6e2c78b37030f54faf2fc84c8cc4939019f6 Mon Sep 17 00:00:00 2001 From: Tobias Reisinger Date: Sun, 29 Oct 2023 13:05:53 +0100 Subject: [PATCH] Fix argparse descriptions in qutebrowser userscripts --- .local/share/qutebrowser/userscripts/qute-clear-url | 2 +- .local/share/qutebrowser/userscripts/qute-keepassxc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.local/share/qutebrowser/userscripts/qute-clear-url b/.local/share/qutebrowser/userscripts/qute-clear-url index b1bbe70..bedbabe 100755 --- a/.local/share/qutebrowser/userscripts/qute-clear-url +++ b/.local/share/qutebrowser/userscripts/qute-clear-url @@ -15,7 +15,7 @@ def error(msg): qute('message-error "{}"'.format(msg)) def parse_args(): - parser = argparse.ArgumentParser(description="Full passwords from KeepassXC") + parser = argparse.ArgumentParser(description="Clear URL and yank to clipboard") parser.add_argument('--selection', '-s', action='store_true', help='Yank to selection') return parser.parse_args() diff --git a/.local/share/qutebrowser/userscripts/qute-keepassxc b/.local/share/qutebrowser/userscripts/qute-keepassxc index 24de330..1d708a8 100755 --- a/.local/share/qutebrowser/userscripts/qute-keepassxc +++ b/.local/share/qutebrowser/userscripts/qute-keepassxc @@ -88,7 +88,7 @@ import nacl.public def parse_args(): - parser = argparse.ArgumentParser(description="Full passwords from KeepassXC") + parser = argparse.ArgumentParser(description="Fill passwords from KeepassXC") parser.add_argument('url', nargs='?', default=os.environ.get('QUTE_URL')) parser.add_argument('--socket', '-s', default='/run/user/{}/org.keepassxc.KeePassXC.BrowserServer'.format(os.getuid()), help='Path to KeepassXC browser socket')