diff --git a/README_commandline.md b/README_commandline.md index 42a4dce76..73f9e46c9 100644 --- a/README_commandline.md +++ b/README_commandline.md @@ -406,7 +406,7 @@ python3 epicyon.py --speaker yournickname@yourdomain Or if you have [picospeaker](https://gitlab.com/ky1e/picospeaker) installed: ``` bash -python3 epicyon.py --notifyShowNewPosts --screenreader picospeaker --notify yournickname@yourdomain +python3 epicyon.py --notifyShowNewPosts --screenreader picospeaker --client yournickname@yourdomain ``` You can also use the **--password** option to provide the password. This will then stay running and incoming posts will be announced as they arrive. diff --git a/epicyon.py b/epicyon.py index bc828851a..216657792 100644 --- a/epicyon.py +++ b/epicyon.py @@ -454,11 +454,9 @@ parser.add_argument('--level', dest='skillLevelPercent', type=int, parser.add_argument('--status', '--availability', dest='availability', type=str, default=None, help='Set an availability status') -parser.add_argument('--notifications', '--notify', '--client', - dest='notifications', +parser.add_argument('--client', dest='client', type=str, default=None, - help='Notify posts as they arrive at your ' + - 'inbox. --notifications [handle]') + help='Run desktop client') parser.add_argument('--block', dest='block', type=str, default=None, help='Block a particular address') parser.add_argument('--unblock', dest='unblock', type=str, default=None, @@ -1833,7 +1831,7 @@ if args.availability: time.sleep(1) sys.exit() -if args.notifications: +if args.client: # Announce posts as they arrive in your inbox using text-to-speech if args.notifications.startswith('@'): args.notifications = args.notifications[1:]