Skip to content

Commit ba9f997

Browse files
author
Kazuki Suzuki
authored
Add files via upload
1 parent 6d0a69a commit ba9f997

File tree

2 files changed

+1363
-853
lines changed

2 files changed

+1363
-853
lines changed

neofile.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ def main():
3939
p.add_argument("-i", "--input", help="Input file/path", nargs="*")
4040
p.add_argument("-o", "--output", help="Output file/dir (or '-' for stdout)")
4141
p.add_argument("-d", "--verbose", action="store_true", help="Verbose/detailed listing")
42-
p.add_argument("--no-json", action="store_true", help="Skip JSON parsing on read (faster)")
4342
p.add_argument("-P", "--compression", default="auto", help="Compression algo (auto, none, zlib, gzip, bz2, lzma)")
4443
p.add_argument("-L", "--level", type=int, default=None, help="Compression level/preset")
4544
p.add_argument("--checksum", default="crc32", help="Checksum type for header/content/json (default: crc32)")
@@ -69,7 +68,7 @@ def main():
6968
if args.list:
7069
if not src:
7170
p.error("list requires -i <archive>")
72-
entries = P.archivefilelistfiles_neo(src, advanced=args.verbose, include_dirs=True, skipjson=args.no_json)
71+
entries = P.archivefilelistfiles_neo(src, advanced=args.verbose, include_dirs=True)
7372
if args.verbose:
7473
for e in entries:
7574
if isinstance(e, dict):
@@ -137,4 +136,4 @@ def main():
137136

138137

139138
if __name__ == "__main__":
140-
sys.exit(main())
139+
sys.exit(main())

0 commit comments

Comments
 (0)