Update 'README.md'

--m -> -m
This commit is contained in:
Sagi Dayan 2020-03-29 12:38:40 +00:00
parent 49c36b471f
commit 9368be0fda

View file

@ -48,14 +48,14 @@ $ telme --init --profile <profile_name>
## Examples: ## Examples:
###### Simple message ###### Simple message
```shell ```shell
$ telme --m "Message to send" $ telme -m "Message to send"
``` ```
In the next example a message will be sent every time the user `user` logs in to a tty. In the next example a message will be sent every time the user `user` logs in to a tty.
> Added the next lines at the bottom of `~/.profile` file > Added the next lines at the bottom of `~/.profile` file
```shell ```shell
# Telme on login # Telme on login
telme --m "A new Login:\n\`\`\` user: $(whoami) | hostname: $(hostname) | remote ip $(who | cut -d'(' -f2 | cut -d')' -f1)\`\`\` Hope this is you!" telme -m "A new Login:\n\`\`\` user: $(whoami) | hostname: $(hostname) | remote ip $(who | cut -d'(' -f2 | cut -d')' -f1)\`\`\` Hope this is you!"
``` ```
###### Task message ###### Task message