summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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()