File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 1
1
2
2
# Changelogs
3
3
4
+ - 2022.08.28
5
+ - add ` -q ` for quiet mode
6
+ - ` -qqqqq ` to mute all the logs
7
+ -
4
8
5
9
- 2022.04.27
6
10
- handle PermissionError for chmod
Original file line number Diff line number Diff line change @@ -262,7 +262,7 @@ def main():
262
262
parser .add_argument (
263
263
'-q' ,
264
264
'--quite' ,
265
- action = 'store_true' ,
265
+ action = "count" ,
266
266
dest = 'quite_mode' ,
267
267
help = 'mute logs.' ,
268
268
)
@@ -272,7 +272,7 @@ def main():
272
272
if args .quite_mode :
273
273
ZipApp .LOGGING = False
274
274
if '-q' not in pip_args and '--quiet' not in pip_args :
275
- pip_args .append ('-q ' )
275
+ pip_args .append (f'- { "q" * args . quite_mode } ' )
276
276
ZipApp ._log (f'zipapps args: { args } , pip install args: { pip_args } ' )
277
277
if args .activate :
278
278
from .activate_zipapps import activate
You can’t perform that action at this time.
0 commit comments