Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
apachedex
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Arnaud Fontaine
apachedex
Commits
e51ab440
Commit
e51ab440
authored
Apr 10, 2013
by
Vincent Pelletier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Provide long version for -Q.
parent
a4c6f5d7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
apachedex/__init__.py
apachedex/__init__.py
+2
-2
No files found.
apachedex/__init__.py
View file @
e51ab440
...
@@ -1072,7 +1072,7 @@ def main():
...
@@ -1072,7 +1072,7 @@ def main():
help
=
'Filename to write output to. Use - for stdout. Default: %(default)s'
)
help
=
'Filename to write output to. Use - for stdout. Default: %(default)s'
)
parser
.
add_argument
(
'-q'
,
'--quiet'
,
action
=
'store_true'
,
parser
.
add_argument
(
'-q'
,
'--quiet'
,
action
=
'store_true'
,
help
=
'Suppress warnings about malformed lines.'
)
help
=
'Suppress warnings about malformed lines.'
)
parser
.
add_argument
(
'-Q'
,
dest
=
'extra_quiet
'
,
action
=
'store_true'
,
parser
.
add_argument
(
'-Q'
,
'--no-progress
'
,
action
=
'store_true'
,
help
=
'Suppress progress indication (file being parsed, lines counter). '
help
=
'Suppress progress indication (file being parsed, lines counter). '
'Does not imply -q.'
)
'Does not imply -q.'
)
parser
.
add_argument
(
'--state-file'
,
nargs
=
'+'
,
default
=
[],
parser
.
add_argument
(
'--state-file'
,
nargs
=
'+'
,
default
=
[],
...
@@ -1247,7 +1247,7 @@ def main():
...
@@ -1247,7 +1247,7 @@ def main():
no_url_lines
=
0
no_url_lines
=
0
all_lines
=
0
all_lines
=
0
skipped_user_agent
=
0
skipped_user_agent
=
0
show_progress
=
not
args
.
extra_quiet
show_progress
=
not
args
.
no_progress
parsing_start_time
=
time
.
time
()
parsing_start_time
=
time
.
time
()
for
fileno
,
filename
in
enumerate
(
infile_list
,
1
):
for
fileno
,
filename
in
enumerate
(
infile_list
,
1
):
if
show_progress
:
if
show_progress
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment