mirror of
https://github.com/bringout/oca-ocb-core.git
synced 2026-04-20 20:32:06 +02:00
19.0 vanilla
This commit is contained in:
parent
d1963a3c3a
commit
2d3ee4855a
7430 changed files with 2687981 additions and 2965473 deletions
|
|
@ -27,7 +27,7 @@ class Cloc(Command):
|
|||
self.parser.add_argument('--database', '-d', dest="database", help="Database name")
|
||||
self.parser.add_argument('--path', '-p', action='append', help="File or directory path")
|
||||
self.parser.add_argument('--verbose', '-v', action='count', default=0)
|
||||
opt, unknown = self.parser.parse_known_args(args)
|
||||
opt, unknown = self.parser.parse_known_args(args + ['--no-http'])
|
||||
if not opt.database and not opt.path:
|
||||
self.parser.print_help()
|
||||
sys.exit()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue