Skip to content

Commit

Permalink
release v2.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
MayankFawkes committed May 8, 2021
1 parent c591dbb commit cfaad2c
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 6 deletions.
4 changes: 4 additions & 0 deletions AllChangelog.md → Changelogs.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelogs

## V2.0.1

* `--max-downloads` and `--max-days` in upload can be used together.

## V2.0.0

* added `--max-downloads` and `--max-days` in upload
Expand Down
4 changes: 2 additions & 2 deletions release.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Changelogs

## V2.0.0
## V2.0.1

* added `--max-downloads` and `--max-days` in upload
* `--max-downloads` and `--max-days` in upload can be used together.
5 changes: 2 additions & 3 deletions transfer/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -180,10 +180,9 @@ def get_args(self) -> argparse.Namespace:
c2.add_argument("-f", "--force", required=False,action="store_true",
help="Force to skip some verification tests and upload directly.")

groupc3 = c2.add_mutually_exclusive_group(required=False)
groupc3.add_argument("--max-downloads", type=int, required=False,
c2.add_argument("--max-downloads", type=int, required=False,
dest="max-downloads", help="Link will automatically delete after limit of downloads.")
groupc3.add_argument("--max-days", required=False, type=int, dest="max-days",
c2.add_argument("--max-days", required=False, type=int, dest="max-days",
help="how long you want to keep the link alive.")


Expand Down
2 changes: 1 addition & 1 deletion transfer/version.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__version__ = "2.0.0"
__version__ = "2.0.1"


if __name__ == '__main__':
Expand Down

0 comments on commit cfaad2c

Please sign in to comment.