We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1c07d03 commit 2c1df7cCopy full SHA for 2c1df7c
changelog.md
@@ -1,6 +1,10 @@
1
2
# Changelogs
3
4
+- 2022.08.28
5
+ - add `-q` for quiet mode
6
+ - `-qqqqq` to mute all the logs
7
+ -
8
9
- 2022.04.27
10
- handle PermissionError for chmod
zipapps/__main__.py
@@ -262,7 +262,7 @@ def main():
262
parser.add_argument(
263
'-q',
264
'--quite',
265
- action='store_true',
+ action="count",
266
dest='quite_mode',
267
help='mute logs.',
268
)
@@ -272,7 +272,7 @@ def main():
272
if args.quite_mode:
273
ZipApp.LOGGING = False
274
if '-q' not in pip_args and '--quiet' not in pip_args:
275
- pip_args.append('-q')
+ pip_args.append(f'-{"q" * args.quite_mode}')
276
ZipApp._log(f'zipapps args: {args}, pip install args: {pip_args}')
277
if args.activate:
278
from .activate_zipapps import activate
0 commit comments