From e98fff5883e02b2f4b1672296db454afc58b8535 Mon Sep 17 00:00:00 2001 From: Aaron Gyes Date: Sun, 12 Dec 2021 10:36:33 -0800 Subject: [PATCH] completion generator: globals at module-level are redundant also add shebang. --- share/tools/create_manpage_completions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/share/tools/create_manpage_completions.py b/share/tools/create_manpage_completions.py index 3e007a0a9..c7c5ca3d7 100755 --- a/share/tools/create_manpage_completions.py +++ b/share/tools/create_manpage_completions.py @@ -1,3 +1,4 @@ +#!/usr/bin/env python # -*- coding: utf-8 -*- # Run me like this: ./create_manpage_completions.py /usr/share/man/man{1,8}/* > man_completions.fish @@ -64,7 +65,6 @@ diagnostic_indent = 0 VERY_VERBOSE, BRIEF_VERBOSE, NOT_VERBOSE = 2, 1, 0 # Pick some reasonable default values for settings -global VERBOSITY, WRITE_TO_STDOUT, DEROFF_ONLY, KEEP_FILES VERBOSITY, WRITE_TO_STDOUT, DEROFF_ONLY, KEEP_FILES = NOT_VERBOSE, False, False, False