Fix argparse descriptions in qutebrowser userscripts
This commit is contained in:
		
							parent
							
								
									1251bb4eab
								
							
						
					
					
						commit
						73bc6e2c78
					
				
					 2 changed files with 2 additions and 2 deletions
				
			
		|  | @ -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() | ||||
|  |  | |||
|  | @ -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') | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue