mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-27 21:33:09 +00:00
completion generator: globals at module-level are redundant
also add shebang.
This commit is contained in:
parent
8e61255a04
commit
e98fff5883
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue