Skip to content

Commit

Permalink
update the version and readme
Browse files Browse the repository at this point in the history
  • Loading branch information
seamile committed Jun 22, 2024
1 parent 2cdbc54 commit 5fd789c
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 4 deletions.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,11 @@

</div>

### <div align="center"><a href="README_CN.md">🇨🇳 中文版</a></div>
<div align="center">
<a href="README_CN.md">🇨🇳 中文版</a>
<a>🇬🇧 English</a>
</div>

**_jsonfmt_** (JSON Formatter) is a simple yet powerful JSON processing tool.

Expand Down
6 changes: 5 additions & 1 deletion README_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,11 @@

</div>

### <div align="center"><a href="README.md">🇬🇧 English</a></div>
<div align="center">
<a>🇨🇳 中文版</a>
<a href="README.md">🇬🇧 English</a>
</div>

**_jsonfmt_**(JSON Formatter)是一款简单而强大的 JSON 处理工具。

Expand Down
2 changes: 1 addition & 1 deletion jsonfmt/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '0.2.7'
__version__ = '0.2.8'
2 changes: 1 addition & 1 deletion jsonfmt/jsonfmt.py
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ def parse_cmdline_args() -> ArgumentParser:
help='key-value pairs to delete (seperated by `;`)')
parser.add_argument(dest='files', nargs='*',
help='the files that will be processed')
parser.add_argument('-v', dest='version', action='version',
parser.add_argument('-v', '--version', action='version',
version=__version__, help="show the version")
return parser

Expand Down

0 comments on commit 5fd789c

Please sign in to comment.