From f69cbbd3893ef00380a46b054e2c9b624d26401e Mon Sep 17 00:00:00 2001 From: Micah Lee Date: Fri, 27 Nov 2020 12:16:04 -0800 Subject: [PATCH] Update desktop readme to include instructions on using verbose mode --- desktop/README.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/desktop/README.md b/desktop/README.md index a1406b47..039124fe 100644 --- a/desktop/README.md +++ b/desktop/README.md @@ -86,12 +86,19 @@ While your virtual environment is active, install briefcase from pip. pip install briefcase ``` -Run OnionShare from the source tree like this: +Run OnionShare from the source tree like this (`-d` re-installs dependencies, which you'll have to do each time you update the `onionshare-cli` wheel): ``` briefcase dev -d ``` +If you want to pass arguments into `onionshare`, such as to use verbose mode: + +``` +cd src +python -c "import onionshare; onionshare.main()" --help +``` + ## Running tests Install these packages inside your virtual environment: