summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornlscc <66028747+nlscc@users.noreply.github.com>2020-10-07 19:33:14 +0200
committernlscc <66028747+nlscc@users.noreply.github.com>2020-10-07 19:33:14 +0200
commit625952133ed4ad2e2ba0420726ceef91a754b338 (patch)
treed015acac01677348edf4ac06f4c73d2e15b910f5
parentimprove help (diff)
downloadsamloader-625952133ed4ad2e2ba0420726ceef91a754b338.tar
samloader-625952133ed4ad2e2ba0420726ceef91a754b338.tar.gz
samloader-625952133ed4ad2e2ba0420726ceef91a754b338.tar.bz2
samloader-625952133ed4ad2e2ba0420726ceef91a754b338.tar.lz
samloader-625952133ed4ad2e2ba0420726ceef91a754b338.tar.xz
samloader-625952133ed4ad2e2ba0420726ceef91a754b338.tar.zst
samloader-625952133ed4ad2e2ba0420726ceef91a754b338.zip
-rw-r--r--README.md2
-rw-r--r--samloader/__main__.py6
2 files changed, 7 insertions, 1 deletions
diff --git a/README.md b/README.md
index ccf7c90..e35c7b3 100644
--- a/README.md
+++ b/README.md
@@ -5,7 +5,7 @@ Download firmware for Samsung devices (without any extra Windows drivers).
pip3 install git+https://github.com/nlscc/samloader.git
```
## Usage
-See `samloader --help` and `samloader (command) --help`.
+Run with `samloader` or `python3 -m samloader`. See `samloader --help` and `samloader (command) --help` for help.
`-m <model> -r <region> checkupdate`: Check the latest firmware version
diff --git a/samloader/__main__.py b/samloader/__main__.py
new file mode 100644
index 0000000..3e45b8d
--- /dev/null
+++ b/samloader/__main__.py
@@ -0,0 +1,6 @@
+# SPDX-License-Identifier: GPL-3.0+
+# Copyright (C) 2020 nlscc
+
+from .main import main
+
+main()